Visual Email Notification

A notification and check system for Gmail on Raspberry Pi 3 & Sense HAT. The aim is to use the Sense HAT module as a notifier of the state of your inbox. It works perfectly with Gmail and Inbox by Google. Nevertheless, it is theoretically compatible with all email servers using IMAP without advanced connections (other than Login/Password).visual-email-notification

Email Checker for Sense HAT (ECFS) Raspberry Pi 3 requires: Python 2.7 (for Sense HAT & IMAPClient) and Nano (for configuration)


Pull or extract the repository where you want on your Raspberry:

Install required elements

Open your command line and, before launching any script, install the following python libraries and apt:

pip install imapclient
sudo apt-get update
sudo apt-get install sense-hat
sudo reboot


Now you can configure ECFS (currently the comments are in French because I'm French):

sudo nano

Find the following required variables and put your own values in:

USERNAME = 'username'
PASSWORD = 'password' 


You can also modify some other values, such as if you want show logs in the terminal:

 LOG = True 

Choose the folders to modify:

 MAILBOX = 'Inbox'

Check mail every x seconds:




How does it work?

ECFS has a simple work flow. After the loading icon:

email-notificationYou have two feedbacks, this:




If you see the red cross, you have a problem – check your config values. If not, perfect, the terminal must show a congratulation message.

At this moment, some possibilities:


Green –  You have done Email.


Yellow – you have more than 1 E-Mail and less than 14 E-Mails.

For more :  Visual Email Notification

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Scroll to Top