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.

    Email

    Scheduled Pinned Locked Moved Productivity
    92 Posts 36 Posters 133.1k Views 39 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.
    • R Offline
      ronny3050 Module Developer @amanzimdwini
      last edited by

      @amanzimdwini Yes, you should be all set! Thanks for the updates. :D

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        amanzimdwini @ronny3050
        last edited by

        @ronny3050
        Thx for updating the README.
        Followed instructions (requested app-pwd since I have 2-factor authentication).
        My config.js:

                        {
                                module: 'email',
                                position: 'bottom_left',
                                header: 'Email',
                                config:{
                                user: 'XXX@gmail.com',
                                password: '****************',
                                host: 'imap.gmail.com',
                                port: 993,
                                tls: true,
                                authTimeout: 10000,
                                numberOfEmails: 5,
                                fade: true
                }
        

        Restarted (NOT REBOOTED) Pi.
        Got this:
        0_1469426287738_upload-38a60756-5f8a-4933-b4f3-af564be8f683

        Rebooted (just to be safe) - same result.

        R 1 Reply Last reply Reply Quote 1
        • R Offline
          ronny3050 Module Developer @amanzimdwini
          last edited by ronny3050

          @amanzimdwini you are missing a ‘}’ which closes the config block. It should look like:

           {
                                  module: 'email',
                                  position: 'bottom_left',
                                  header: 'Email',
                                  config:{
                                  user: 'XXX@gmail.com',
                                  password: '****************',
                                  host: 'imap.gmail.com',
                                  port: 993,
                                  tls: true,
                                  authTimeout: 10000,
                                  numberOfEmails: 5,
                                  fade: true
                            }
                  }
          A 1 Reply Last reply Reply Quote 0
          • A Offline
            amanzimdwini @ronny3050
            last edited by

            @ronny3050
            Sorry - pasted only partial copy; I had the trailing }.
            My Config.js was correct…

            Just to be on the safe side, I tested it as if config.js had been what I posted - and that failed with a “please create a config file”. As it should have.

            So - I think the problem is elsewhere. Sorry

            R 3 Replies Last reply Reply Quote 0
            • R Offline
              ronny3050 Module Developer @amanzimdwini
              last edited by

              @amanzimdwini Could you please report the logs?

              1 Reply Last reply Reply Quote 0
              • R Offline
                ronny3050 Module Developer @amanzimdwini
                last edited by

                @amanzimdwini Also, if you’re using Gmail, you need to ‘set lower security for apps’ https://www.google.com/settings/security/lesssecureapps.

                cowboysdudeC 1 Reply Last reply Reply Quote 0
                • R Offline
                  ronny3050 Module Developer @amanzimdwini
                  last edited by

                  @amanzimdwini It should be working now?

                  A 1 Reply Last reply Reply Quote 1
                  • A Offline
                    amanzimdwini @ronny3050
                    last edited by

                    @ronny3050

                    Just did a clean install on a brand new pi in about 5 minutes flat. COOL MODULE.
                    (still need to work on 2-auth, please. Plus I’ll want to change your config to make the display single line etc. I’ll look at the js file)

                    R 1 Reply Last reply Reply Quote 1
                    • R Offline
                      ronny3050 Module Developer @amanzimdwini
                      last edited by

                      @amanzimdwini I am working on it. Also, I am finishing up with another module that works in a very similar fashion, where your requests would be required as well. I’ll add them together :D

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        Neokamikaze
                        last edited by

                        Hi,

                        Thanks for this job.
                        It’s possible to add number of email don’t read in the header module ?

                        Thanks

                        R 1 Reply Last reply Reply Quote 1
                        • R Offline
                          ronny3050 Module Developer @Neokamikaze
                          last edited by

                          @Neokamikaze Thanks for your kind words!
                          It is definitely possible. Unfortunately, I am traveling and don’t have my mirror with me. I will add it in a week and update you.

                          Thanks once more :D

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pietrodona
                            last edited by

                            Hi,
                            Thank you very much for this amazing module. Unfortunately, I was not able to make it work properly. Without giving any error (at least that I am aware of) it freezes on the loading screen.
                            I managed the security and everything, it is a Gmail account.
                            Any idea of what’s going on?

                            R 1 Reply Last reply Reply Quote 1
                            • P Offline
                              pietrodona
                              last edited by

                              Sorry for double posting. Now it works, but I did nothing but rebooting.

                              R 1 Reply Last reply Reply Quote 1
                              • R Offline
                                ronny3050 Module Developer @pietrodona
                                last edited by

                                @pietrodona rebooting helps. The issue could’ve been some IMAP error. This happens because IMAP is super sensitive and errors without reason.

                                Hopefully, all is well now.

                                1 Reply Last reply Reply Quote 0
                                • KirAsh4K Offline
                                  KirAsh4 Moderator
                                  last edited by

                                  When in doubt, pull the plug.

                                  A Life? Cool! Where can I download one of those from?

                                  1 Reply Last reply Reply Quote 1
                                  • E Offline
                                    eugenelai
                                    last edited by

                                    Is it possible to add two email addresses? Kindly please advice @ronny3050

                                    R 1 Reply Last reply Reply Quote 0
                                    • strawberry 3.141S Offline
                                      strawberry 3.141 Project Sponsor Module Developer
                                      last edited by

                                      multiple adresses are currently not possible

                                      Please create a github issue if you need help, so I can keep track

                                      1 Reply Last reply Reply Quote 1
                                      • N Offline
                                        Neokamikaze
                                        last edited by

                                        Hi @ronny3050,

                                        I have a problem, same problem that @pietrodona. My emails are double on my mirror same after reboot. After a few day, my emails are double on my mirror. And after delete my emails on Gmail these emails aren’t deleted on my mirror.

                                        Thanks

                                        1 Reply Last reply Reply Quote 0
                                        • cowboysdudeC Offline
                                          cowboysdude Module Developer @ronny3050
                                          last edited by

                                          @ronny3050 said in Email:

                                          @amanzimdwini Also, if you’re using Gmail, you need to ‘set lower security for apps’ https://www.google.com/settings/security/lesssecureapps.

                                          @ronny3050 I did that and still no emails ;( Everything is set up correctly … login/password …

                                          Suggestions?

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

                                            Hello,
                                            you can adjust the size of the email?
                                            at too long email that goes module over the entire screen

                                            H 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • 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