Read the statement by Michael Teeuw here.
[MMM-GmailFeed] - Simple Gmail unread messages list/notification
-
Description:
This module hooks into the rss feed of a gmail account, to show a list of unread emails.Features:
- Support gmail and gsuite accounts
- Configurable refresh intervals
- New Mail notification sound
- Configurable text widths
- .css file for customization if desired
- Always shows unread total count, regardless of list size limit setting.
Why?
I work as as software engineer from home. Keeping track of my daily calendar is vital to my job. I have a small 19" monitor in portrait mode hooked to an rPi, setup to my side. It shows me the days weather, time, forecast, and of course Calendar!! It was doing a fantastic job of helping me keep track of events. But, I was still too slow noticing important new emails. I tried the IMAP based MM modules, but found them lacking with regards to just giving me updates to what is fresh/new. I forked the MMM-JsonTable module, and tweaked it to work with the Gmail RSS feed. Now, I get a nice short list of most-recent unread email at the bottom of my MM.Screenshot

-
@shaneapowell
is there a way to make the font Bigger on the header or just get rid of it.
I cant read it unless I get up and go across the room 15ft. so that line of Information is
useless to me. Also can I get rid of the line under it.
I have poured over your MMM-GmailFeed files and can not for the life of me find that font size.
I have xxsmall xsmall small medium and have tried large for font sizes.
I found the actual email font size but the header is elusive. -
@Plainbroke-0 said in [MMM-GmailFeed] - Simple Gmail unread messages list/notification:
is there a way to make the font Bigger on the header or just get rid of it.
In your custom.css file
To modify the header font
.MMM-GmailFeed .module-header { color: yellow; text-align: center; font-size: 28px; }To make the header “underline” go away
.MMM-GmailFeed .module-header { border-bottom: none; } -
Mykle1
Thank you so much I spent probably 3 hrs trying to find it on my own…
The only way I can learn this stuff. -
Been there, my friend. Don’t sweat it. It takes time but it is rewarding. :thumbsup:
-
Hello,
I am getting: Error: [null].
I’m 100% sure my email and password are correct. Do you know what can be the problem, please?Arek
-
I got the same error and are searching for a solution
-
I think it is to do with Google’s security settings. See if you got an email saying you had a blocked access attempt. You can change the settings under ‘security’ to allow less secure apps though it is not recommended.
On the github it says you can set up an app specific password, again look under security settings in your google account, you need two factor authentication on…
-
@Lagmin , as the boss explain : “Your gmail password. If you are using 2 factor auth, you’ll need to generate a unique “App Password”. Go to your google account settings page, look in the “security” section on the left menu. You should find where to add an App Password there.” For me i’m not using 2 factor auth and i have the “null” message and have to allow less security App, maybe it 's the http and not https. I hope it will work for you.
-
@shaneapowell, Thanks a lot, work great.
-
Hey Guys… sorry I’ve not been in here to respond to questions. My MagicMirror has been working so well… I totally forgot about this thread. :) I updated the Readme on the github with a brief explination of how to work with Google 2FA. Hope that helps future users.
-
After updating MM to the latest version, every time I have Gmailfeed in the config I get this error when I launch MM.
[22.12.2021 18:26.44.188] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request' Require stack: - /home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js -and …
Require stack: - /home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:887:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:732:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js:2:15) at Module._compile (internal/modules/cjs/loader.js:1078:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) [22.12.2021 18:26.44.219] [ERROR] Whoops! There was an uncaught exception... [22.12.2021 18:26.44.225] [ERROR] Error: Cannot find module 'request' Require stack: - /home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/js/electron.js - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js - at Module._resolveFilename (internal/modules/cjs/loader.js:887:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:732:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js:2:15) at Module._compile (internal/modules/cjs/loader.js:1078:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-GmailFeed/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', undefined ] }Any ideas on how to fix this?
-
-
@aarish said in [MMM-GmailFeed] - Simple Gmail unread messages list/notification:
Cannot find module ‘request’
Ecrite noire sur blanc l’erreur : Cannot find module ‘request’
-> Faut juste installer le module demandé (request)
“npm install request” et le tour est joué -
@sdetweil said in [MMM-GmailFeed] - Simple Gmail unread messages list/notification:
@aarish see
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-laterSam,
This did not work for me I could not find anywhere it showed which dependency
my MM needed to run the GmailFeed, but A nice person pointed out to me to run
npm install request in the MagicMirror/modules directory. Reinstalled the MMM-GmailFeed and then ran the npm install request in the modules directory and it WORKS again. Thank you to Kristjan ESPERANTO! -
@plainbroke module install instructions
git clone https://github.com/shaneapowell/MMM-GmailFeed.git cd MMM-GmailFeed npm installthe GitHub page is the README.MD file
also, if the module has a package.json you need to npm install ( in the new module folder), even if they don’t say so
-
I am having an unusual problem with it. It is preventing Googleassistant from bugsounet from loading
I tested this 3 times by disabling the update and another one disabling the module and finally I reinstalled the previous version and everything worked perfectly, so I don’t understand what’s going on here -
Also just came across a clash between GmailFeed and both MMM-News and MMM-NewsAPI.
Seems my GmailFeed was a little out of date as a git pull updated stuff there and now they are playing nicely together. Must be something quite recent though as I’m sure I did a full mirror update not so long ago…?
-
@sdetweil said in [MMM-GmailFeed] - Simple Gmail unread messages list/notification:
@plainbroke module install instructions
git clone https://github.com/shaneapowell/MMM-GmailFeed.git cd MMM-GmailFeed npm installthe GitHub page is the README.MD file
also, if the module has a package.json you need to npm install ( in the new module folder), even if they don’t say so
I did all the npm install and it still did not work until I did the “npm install request” in the MagicMirror/modules folder, that alone fixed almost all my install issues… Could hardly believe something so simple fixed so much… And yes I have been running npm install in all my modules folders just to be safe. That pm2 restart mm && pm2 log lines=50 ( i think that is correct) really made life easier… Thanks to all whom helped with my issue…
-
@plainbroke said in [MMM-GmailFeed] - Simple Gmail unread messages list/notification:
that alone fixed almost all my install issues… Could hardly believe something so simple fixed so much
this is because the author didn’t record request being used in his package.json, cause it ‘worked’ without it…, because MM supplied it…
but MM removed it because the library has been discontinued) (deprecate) and is exposed the security issues.
oops… module didn’t declare, and its not there anymore… boom
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login