Just made an email module for MagicMirror. It is my first module and I had a lot of fun making it.
It pulls and displays all unread emails and listens for new incoming emails. It updates the mirror when a new email arrives.
Please let me know if there are any additional features or improvements that you need.
- Uses IMAP protocol
- Full customization - number of emails to display, search parameters, fade effect
- Listens for new incoming emails
- Multiple email accounts
- Will not crash on too many unread email support
- Better fetching of recent and unread emails
@Phate Thank you so much! :)
As soon as I get a chance I’ll give it a go… :-)
As soon as I get a chance I’ll give it a go…
Let me know how it goes. There are a lot of problems, but I’d like you to test it. IMAP causes a lot of problems and isn’t as straightforward as I thought it would be! :(
Request: Multiple email accounts?
OR - better still since I just need the ALERT: any way I can just get a NUMBER of emails I need to read:
I’ll have a look at your module once I sort one other problem on my MM2 out.
@amanzimdwini Thank you!
That seems very interesting. I will take a look at that and get back to you! It is definitely possible, however, I’d like to get an audio notification (on new incoming emails) working before I proceed.
Thx. In the meanwhile: I’d like to change the font size you use for display to small/tiny (I have about a zillion emails in 12+ different accounts)… so I have to fix my custom.css
Judging from previous problems (look at the bottom of
) I stink at finding the properties myself - any hints would be most welcome.
That’s a good idea. Note:
- Number of emails to display is customizable and the default is 5.
- Instead of enforcing people to play around with css, I can have a config property where you can set the font size as ‘big’, ‘medium’, ‘small’.
Please let me know when you get this module up and running, and whether the above helps.
Git pull was easy.
npm install yielded
pi@MagicMirror2:~/MagicMirror/modules $ npm install npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/packa ge.json' npm WARN modules No description npm WARN modules No repository field. npm WARN modules No README data npm WARN modules No license field.
I’ll go ahead, but thought you might want to know.
Note from admin: Please use Markdown on code and shell snippets!