• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Problem with the Module "email"

Scheduled Pinned Locked Moved Unsolved Troubleshooting
57 Posts 4 Posters 24.0k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil
    last edited by sdetweil Sep 5, 2019, 2:36 PM Sep 5, 2019, 2:33 PM

    i don’t see that on my console… I see

    password
    use your phone
    2-step verification
    

    0_1567694157125_2019-09-05.png

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Sep 5, 2019, 3:09 PM Reply Quote 0
    • M Offline
      mumblebaj Module Developer @sdetweil
      last edited by mumblebaj Sep 5, 2019, 3:12 PM Sep 5, 2019, 3:09 PM

      @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.

      Check out my modules at: https://github.com/mumblebaj?tab=repositories

      S 1 Reply Last reply Sep 5, 2019, 3:17 PM Reply Quote 0
      • S Offline
        sdetweil @mumblebaj
        last edited by Sep 5, 2019, 3:17 PM

        @mumblebaj yes, had to turn on 2fa… hate that

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          CyruS1337 Project Sponsor
          last edited by Sep 5, 2019, 3:22 PM

          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;)

          S M 2 Replies Last reply Sep 5, 2019, 3:24 PM Reply Quote 0
          • S Offline
            sdetweil @CyruS1337
            last edited by Sep 5, 2019, 3:24 PM

            @CyruS1337 you have to turn on 2 step verification (2 factor authentication aka 2fa)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              mumblebaj Module Developer @CyruS1337
              last edited by mumblebaj Sep 5, 2019, 4:11 PM Sep 5, 2019, 4:08 PM

              @CyruS1337 I just setup the module and created my app key and email is working for me.
              0_1567699562380_1486bf00-438f-4fa7-8443-bbc25b2cf9ca-image.png

              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
                              }
                      },

              Check out my modules at: https://github.com/mumblebaj?tab=repositories

              1 Reply Last reply Reply Quote 0
              • C Offline
                CyruS1337 Project Sponsor
                last edited by Sep 6, 2019, 7:02 AM

                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.

                M 1 Reply Last reply Sep 6, 2019, 2:05 PM Reply Quote 0
                • C Offline
                  CyruS1337 Project Sponsor
                  last edited by Sep 6, 2019, 7:08 AM

                  If i enter npm start dev he following will come out:

                  npm ERR! path /home/pi/package.json
                  npm ERR! code ENOENT
                  npm ERR! errno -2
                  npm ERR! syscall open
                  npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                  npm ERR! enoent This is related to npm not being able to find a file.
                  npm ERR! enoent
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/pi/.npm/_logs/2019-09-06T07_07_27_973Z-debug.log
                  
                  
                  S 1 Reply Last reply Sep 6, 2019, 12:19 PM Reply Quote 0
                  • S Offline
                    sdetweil @CyruS1337
                    last edited by Sep 6, 2019, 12:19 PM

                    @CyruS1337 u need to be in the MagicMirror folder before npm start

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply Sep 7, 2019, 5:48 AM Reply Quote 0
                    • M Offline
                      mumblebaj Module Developer @CyruS1337
                      last edited by Sep 6, 2019, 2:05 PM

                      @CyruS1337 I assume that you meant that you replace your password with the generated key? When you run pm2 logs what do you get? Does it show anything for email? Have you in the /modules/email folder run npm install?

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories

                      C 1 Reply Last reply Sep 7, 2019, 5:57 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      5 / 6
                      • First post
                        41/57
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy