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 149.3k 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.
    • M
      MSimonart
      last edited by

      Hi, when starting up the Mirror, email shows loading…
      in my terminal i see the following:
      NEW MAIL
      NEW MAIL
      NEW MAIL
      Email notifier error: { Error: Timed out while autenticating with server at Timeout._onTimeout (/home/pi/MagicMirror/modules/email/node_modules/imap/lib/Connection

      my config looks good,
      Accounts: [

      user: ‘XX@hotmail.com’,
      password: ‘’,
      host: ‘imap-mail.outlook.com’,
      port: 993,
      tls: true,
      authTimeout: 10000,
      numberOfEmails: 5
      },
      ]
      fade: true,
      maxCharacters: 30
      }

      1 Reply Last reply
      Reply Quote 0
      • M
        MSimonart
        last edited by

        ok, it works, now for the css of the .address text, the text is not well readable on the mirror, there is like some sort of gradient or something effect on the font/text. How do I disable this?

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

          @MSimonart here is no gradient effect, probably you mean the default magicmirror class dimmed, you can overwrite it for that module in the custom css

          .email .dimmed {
            color: #aaa;
          }
          

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

          M 1 Reply Last reply
          Reply Quote 0
          • G
            Gxnfr Ali @apm1007
            last edited by

            @apm1007 hello

            1 Reply Last reply
            Reply Quote 0
            • M
              MSimonart @strawberry 3.141
              last edited by

              @strawberry-3.141 Ok i’ll try, thanks

              G 1 Reply Last reply
              Reply Quote 0
              • G
                Gxnfr Ali @MSimonart
                last edited by

                @MSimonart
                no new email show

                1 Reply Last reply
                Reply Quote 0
                • S
                  secblizz
                  last edited by secblizz

                  Same problem here. The module recieves the Mails but they weren’t shown in the mirror

                  //edit: fixed my problem. Fade has to be false…

                  1 Reply Last reply
                  Reply Quote 0
                  • U
                    umairshah
                    last edited by

                    I have added the module in Default folder named it email
                    and added the module in config.js from the Github link followed here
                    https://github.com/ronny3050/email-mirror
                    but nothing is shown on screen.

                    Mykle1M justjim1220J 2 Replies Last reply
                    Reply Quote 0
                    • Mykle1M
                      Mykle1 Project Sponsor Module Developer @umairshah
                      last edited by

                      @umairshah

                      The email module folder goes in the modules folder but not inside the default folder

                      Create a working config
                      How to add modules

                      U 1 Reply Last reply
                      Reply Quote 0
                      • U
                        umairshah @Mykle1
                        last edited by

                        @Mykle1 I have moved it to module but it is not working

                        1 Reply Last reply
                        Reply Quote 0
                        • E
                          E3V3A @amanzimdwini
                          last edited by

                          This post is deleted!
                          1 Reply Last reply
                          Reply Quote 0
                          • U
                            umairshah
                            last edited by

                            When I wrote the command npm install
                            it showed error no License and no repository field found
                            then I added repository and license
                            but it shows that email@0.0.1 is not valid license spdx expression
                            “license” : {
                            “type” : “MIT”
                            }

                            1 Reply Last reply
                            Reply Quote 0
                            • I
                              ime90
                              last edited by

                              I’m still having trouble.

                              I believe I setup everything correctly. Added the subjectlength at the end, allowed IMAP in my gmail account, but still, after loading the module won’t connect to my mail and doesn’t show anything. Is anyone else having trouble with this?

                              1 Reply Last reply
                              Reply Quote 0
                              • justjim1220J
                                justjim1220 Module Developer @umairshah
                                last edited by

                                @umairshah
                                If you add a module to the default folder, you have to make the necessary changes to the default.js file to include it.

                                It’s just better to put it in the modules folder.

                                “Life’s Too Short To Dance With Ugly People”
                                Jim Hallock - 1995

                                U 1 Reply Last reply
                                Reply Quote 0
                                • U
                                  umairshah @justjim1220
                                  last edited by

                                  @justjim1220 said in Email:

                                  ou add a module to the default folder, you have to make the necessary changes to the default.js file to inc

                                  @justjim
                                  It is not in default folder, it is in the module folder.
                                  when I download and tried to install it gave error of no repository and license field in package.json, but when I add those fields in package.json then it showed spdx expression error.

                                  justjim1220J 1 Reply Last reply
                                  Reply Quote 0
                                  • justjim1220J
                                    justjim1220 Module Developer @umairshah
                                    last edited by justjim1220

                                    @umairshah
                                    @ime90

                                    Can you show your config.js file here?

                                    Make sure you hide personal info…

                                    “Life’s Too Short To Dance With Ugly People”
                                    Jim Hallock - 1995

                                    I 1 Reply Last reply
                                    Reply Quote 0
                                    • I
                                      ime90 @justjim1220
                                      last edited by ime90

                                      @justjim1220

                                      var config = {
                                      address: “localhost”,
                                      port: 8080,
                                      ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”],

                                      language: "en",
                                      timeFormat: 24,
                                      units: "metric",
                                      
                                      modules: [
                                      	{
                                      		module: "alert",
                                      	},
                                      
                                      	{
                                      		module: 'email',
                                                      position: 'bottom_left',
                                                      header: 'Email',
                                                      config: {
                                                          accounts: [
                                                              
                                                              {
                                                                  user: '**@gmail.com',
                                                                  password: '**',
                                                                  host: 'imap.gmail.com',
                                                                  port: 993,
                                                                  tls: true,
                                                                  authTimeout: 10000,
                                                                  numberOfEmails: 2,
                                                              }
                                                          ],
                                                          fade: true,
                                                          maxCharacters: 30,
                                      		    subjectLength: 50
                                                      }
                                      	},
                                      
                                      	{
                                      		module: "updatenotification",
                                      		position: "top_bar"
                                      	},
                                      	{
                                      		module: "clock",
                                      		position: "top_left"
                                      	},
                                      	{
                                      		module: "calendar",
                                      		header: "US Holidays",
                                      		position: "top_left",
                                      		config: {
                                      			calendars: [
                                      				{
                                      					symbol: "calendar-check-o ",
                                      					url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
                                      				}
                                      			]
                                      		}
                                      	},
                                      	{
                                      		module: "compliments",
                                      		position: "lower_third"
                                      	},
                                      	{
                                      		module: "currentweather",
                                      		position: "top_right",
                                      		config: {
                                      			location: "New York",
                                      			locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
                                      			appid: "YOUR_OPENWEATHER_API_KEY"
                                      		}
                                      	},
                                      	{
                                      		module: "weatherforecast",
                                      		position: "top_right",
                                      		header: "Weather Forecast",
                                      		config: {
                                      			location: "New York",
                                      			locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
                                      			appid: "YOUR_OPENWEATHER_API_KEY"
                                      		}
                                      	},
                                      	{
                                      		module: "newsfeed",
                                      		position: "bottom_bar",
                                      		config: {
                                      			feeds: [
                                      				{
                                      					title: "New York Times",
                                      					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                                      				}
                                      			],
                                      			showSourceTitle: true,
                                      			showPublishDate: true
                                      		}
                                      	},
                                      ]
                                      

                                      };

                                      /*************** DO NOT EDIT THE LINE BELOW ***************/
                                      if (typeof module !== “undefined”) {module.exports = config;}

                                      justjim1220J 2 Replies Last reply
                                      Reply Quote 0
                                      • justjim1220J
                                        justjim1220 Module Developer @ime90
                                        last edited by

                                        @ime90

                                        Try changing the fade to false.

                                        Make sure your email address and password are case correct (uppercase and lowercase).

                                        Other than that, I don’t see an issue with the syntax.

                                        You did change the config.js.sample to config.js, correct?

                                        “Life’s Too Short To Dance With Ugly People”
                                        Jim Hallock - 1995

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • justjim1220J
                                          justjim1220 Module Developer @ime90
                                          last edited by

                                          @ime90

                                          Also…

                                          I have found that some modules don’t work as well with the single quotes (’ ').

                                          Try changing them all to the double quotes (" ")

                                          “Life’s Too Short To Dance With Ugly People”
                                          Jim Hallock - 1995

                                          I 1 Reply Last reply
                                          Reply Quote 0
                                          • I
                                            ime90 @justjim1220
                                            last edited by

                                            @justjim1220

                                            Yeah, I changed it of course. I’ll try out the double quotation marks and all you recommended.

                                            Can you just tell me, does this module work for you at this time for Gmail or any other mail?

                                            justjim1220J 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
                                            • 4 / 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