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 28.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.
    • CyruS1337C Offline
      CyruS1337 Project Sponsor @mumblebaj
      last edited by

      @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? :-/

      mumblebajM 1 Reply Last reply Reply Quote 0
      • mumblebajM Offline
        mumblebaj Module Developer @CyruS1337
        last edited by

        @CyruS1337 In gmail, you need to select the Google Apps menu: 0_1567611843267_e4890805-370c-4dac-b435-300a7a0fdb2c-image.png

        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.

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

        1 Reply Last reply Reply Quote 0
        • CyruS1337C Offline
          CyruS1337 Project Sponsor
          last edited by

          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.

          0_1567657987918_2019-09-05_06-30-38.jpg

          mumblebajM 1 Reply Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @CyruS1337
            last edited by

            @CyruS1337 No problem:
            When loggin into gmail, on the right hand side there is the “hamburger menu”:
            0_1567691436238_f4313eaa-8a4a-4186-b95f-a508940eaf92-image.png

            When you click that you get a list of apps, select Account from there. On the left click security:
            0_1567691547044_ed5f3d88-fa5f-48e4-a27e-52f0dd2b9fa0-image.png

            On the right you will see Signing into Google. Click on the “>” on the line “App Passwords”
            0_1567691628894_069c7c94-1896-4748-8f6e-0c84dc66c673-image.png

            On the next screen enter your password and then on the next screen you will be able to create the key.
            0_1567691769140_f78991d4-1421-4040-aa34-92c39340311b-image.png

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

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil
              last edited by sdetweil

              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

              mumblebajM 1 Reply Last reply Reply Quote 0
              • mumblebajM Offline
                mumblebaj Module Developer @sdetweil
                last edited by mumblebaj

                @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
                Check my blog-post: https://mumblebaj.xyz/

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @mumblebaj
                  last edited by

                  @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
                  • CyruS1337C Offline
                    CyruS1337 Project Sponsor
                    last edited by

                    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 mumblebajM 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @CyruS1337
                      last edited by

                      @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
                      • mumblebajM Offline
                        mumblebaj Module Developer @CyruS1337
                        last edited by mumblebaj

                        @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
                        Check my blog-post: https://mumblebaj.xyz/

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 5 / 6
                        • First post
                          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