A Dashing widget to display your unread emails through Gmail using the Ruby Gmail gem.
To use this widget, copy gmail.coffee
, gmail.html
, and gmail.scss
into the /widgets/gmail
directory of your Dashing app. This directory does not exist in new Dashing apps, so you may have to create it. Copy the gmail.rb
file into your /jobs
folder, and include the Gmail gem in your Gemfile
. Edit the gmail.rb
file to include your Gmail username and password.
To include the widget in a dashboard, add the following to your dashboard layout file:
#####dashboards/sample.erb
...
<li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
<div data-id="gmail" data-view="Gmail" data-title="Gmail"></div>
</li>
...
This is awesome, got everything working but it's marking my emails as read, is there anyway around this?