In this Instructable we will build a fun desk gadget to alert you when a new email arrives in your inbox.

Step 1: Materials


Raspberry Pi (RadioShack #277-196)

protoboard (RadioShack #276-168)

(5x) 220 ohm resistor (RadioShack #271-1111)

(5x) white LEDs (RadioShack #276-017)

n-channel MOSFET (RadioShack #276-2072)

10K resistor (RadioShack # 271-1126)

Micro USB cable (RadioShack #26-2738)

2A USB AC power supply (RadioShack #55075817) web only

22 gauge wire (RadioShack #278-1218)

5mm thick Plywood

3mm thick Plywood

(4x) 1.5" 8/32 machine screw

(4x) 8/32 nut

(2x) 4/40 nut

(2x) .75" 4/40 machine screw

various paints

hot melt glue


Read a schematic

Solder a simple circuit

Modify a program (no actual programming required)

<p>Can any one please provide me with a code </p>
<p>Isn't the MOSFET always ON with the 10k pull up resistor?</p>
<p>On execution i get this error. Any clue how to go about this?<br><br>Traceback (most recent call last):</p><blockquote> File &quot;elight.py&quot;, line 13, in &lt;module&gt;</blockquote><blockquote> cur_mails = int(feedparser.parse(&quot;https://&quot; + USERNAME + &quot;:&quot; + PASSWORD +&quot;@mail.google.com/gmail/feed/atom&quot;)[&quot;feed&quot;][&quot;fullcount&quot;])</blockquote><blockquote> File &quot;/usr/local/lib/python2.7/dist-packages/feedparser.py&quot;, line 356, in __getitem__</blockquote><blockquote> return dict.__getitem__(self, key)</blockquote><blockquote>KeyError: 'fullcount'</blockquote>
<p>same f'ing issue</p>
<p>Nicecode but I want to notify specific email. So how can I notify if a specific mail is recieved?</p><p>Thanks in advance.</p>
<p>With the sheer amount email that I get, it would always be blinking!</p><p>Very nice... good work!</p>
<p>Only works with a gmail account. Author should have made this clear at the beginning of the project. </p><p>How do I mod this to work with other mail systems?</p>
<p>It will work with any email provider that has an ATOM/RSS feed of your account. Admittedly, I don't know of any provider other than Gmail that does this. You may be able to get an IFTTT recipe to workaround it though. </p>
<p>Very cool project. One caveat - that python code appears to be putting your google account username and password into the URL that it pulls the email count from. That's not such a good idea. I'm pretty sure that anyone with access to your router logs would be able to see your account credentials. This can be a very bad thing - stolen email credentials can equal stolen paypal account, stolen ebay account, stolen amazon account, i.e. life=living hell. There are other ways to read gmail's atom feed that don't expose your credentials. This looks like a much safer way to do it: <a href="http://pythonadventures.wordpress.com/2012/09/08/check-gmail-for-new-messages/" rel="nofollow">http://pythonadventures.wordpress.com/2012/09/08/c...</a></p>
<p>That's a very nice project and the instructable is perfect. Congratulations! ?<br></p>
<p>haha, very cool, you can add a servo to this red flag thing, so it goes up when you got a new mail and down when you have read it! :D</p>
<p>Oh gosh, this is so cute!</p>
<p>Thanks! I spent way too much time on the case design haha.</p>

About This Instructable




Bio: My name is DJ and I previously made electronic whatsits, 3D-printed thingamabobs, and laser-cut kajiggers for the Instructables Design Studio; now I build and repair ... More »
More by Aleator777:MiniSub ROV Basics of Thermal Imaging Miniature Autonomous Blimp 
Add instructable to: