Read the statement by Michael Teeuw here.
Problem with the Module "email"
-
@cyrus1337 the warnings mean nothing for users.
This module will ONLY show email that arrives AFTER it is started.
-
@sdetweil said in Problem with the Module "email":
the warnings mean nothing for users.
ok, all right :) but I am not yet. The module will simply not load an email
-
@cyrus1337 I had to reboot to get it to work.
-
@sdetweil said in Problem with the Module "email":
I had to reboot to get it to work.
I just did
sudo rebootunfortunately without success -
Does it show the module on screen?
-
@cirdan said in Problem with the Module "email":
oes
Yes, the title stands and under the title is “load”
-
Just did a fresh install. Git clone and npm install like you did. Added example config to config.js. Deleted one of the preset accounts and changed the google one into my email. Typed password
I had to change fade from true to false to get the module to show emails
Make sure there are new mails in the mailbox
Check your passwordFor every new email a line NEW EMAIL is printed in the console
Also when new mail arives, in the console of the webbrowser the payload can be found. When in magic mirror full screen mode, type ctrl shift i. Wait a few seconds. In the console log on the right you should a log containing " new payload array ()." Click on array opens the received emails
-
@cirdan Unfortunately, the module still does not work for me. Have it disabled mitlerweile again.
-
@CyruS1337 With gmail you have to create an application key on gmail itself. Your email account password would not work.
-
@mumblebaj said in Problem with the Module "email":
@CyruS1337 With gmail you have to create an application key on gmail itself. Your email account password would not work.
And how do I create an application key myself? :-/
-
@CyruS1337 In gmail, you need to select the Google Apps menu:

Next click on Account. On the left hand side click on Security.
On the right Select App Passwords and create a password for your app. Copy that key into your mirror where you need to enter the password and that should work. -
Hello
Sorry if I ask again, but unfortunately I can not find it. So I go like this -> Account -> Security and then I do not find what you mean.

-
@CyruS1337 No problem:
When loggin into gmail, on the right hand side there is the “hamburger menu”:

When you click that you get a list of apps, select Account from there. On the left click security:

On the right you will see Signing into Google. Click on the “>” on the line “App Passwords”

On the next screen enter your password and then on the next screen you will be able to create the key.

-
i don’t see that on my console… I see
password use your phone 2-step verification
-
@sdetweil Strange. I had to generate a key to get email to work. Not sure why you guys don’t see the option.
Edit:
Maybe because your 2FA is turned off. -
@mumblebaj yes, had to turn on 2fa… hate that
-
I do not see it either. I see the same as sdetweil. I’ve also approved third-party apps with account access on this page below.
Can I do something that would help you? Post a log or something. You just have to tell me the command;)
-
@CyruS1337 you have to turn on 2 step verification (2 factor authentication aka 2fa)
-
@CyruS1337 I just setup the module and created my app key and email is working for me.

And my config: I also had to change fade to false in order for email to display properly
module: 'email', position: 'top_right', header: 'Email', config: { accounts: [ { user: 'xxxxxxxxxxxxx@gmail.com', password: 'xxxxxxxxxxxxxxxx', host:'imap.gmail.com', port: 993, tls: true, authTimeout: 10000, numberOfEmails: 5, } ], fade: false, maxCharacters: 30 } }, -
Good Morning
So I activated the 2FA and replaced the generated key with my password. I also took your config and added my username and password from 2FA. Unfortunately, as before, there is still “load” and it does not show any emails.
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