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

Email

Scheduled Pinned Locked Moved Productivity
92 Posts 36 Posters 121.7k 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 @Phate
    last edited by Jul 24, 2016, 8:47 PM

    @Phate said in Email:

    As soon as I get a chance I’ll give it a go…

    Let me know how it goes. There are a lot of problems, but I’d like you to test it. IMAP causes a lot of problems and isn’t as straightforward as I thought it would be! :(

    1 Reply Last reply Reply Quote 0
    • A Offline
      amanzimdwini @ronny3050
      last edited by Jul 25, 2016, 4:47 AM

      @ronny3050

      Looks interesting.
      Request: Multiple email accounts?
      OR - better still since I just need the ALERT: any way I can just get a NUMBER of emails I need to read:

      joeshmoe@gmail.com - 17 unread
      suzieQ@public.com - 5 unread
      UncleSam@gov.com - 0 unread

      I’ll have a look at your module once I sort one other problem on my MM2 out.

      R 1 Reply Last reply Jul 25, 2016, 5:23 AM Reply Quote 1
      • R Offline
        ronny3050 Module Developer @amanzimdwini
        last edited by Jul 25, 2016, 5:23 AM

        @amanzimdwini Thank you!

        That seems very interesting. I will take a look at that and get back to you! It is definitely possible, however, I’d like to get an audio notification (on new incoming emails) working before I proceed.

        A 1 Reply Last reply Jul 25, 2016, 5:28 AM Reply Quote 0
        • A Offline
          amanzimdwini @ronny3050
          last edited by Jul 25, 2016, 5:28 AM

          @ronny3050

          Thx. In the meanwhile: I’d like to change the font size you use for display to small/tiny (I have about a zillion emails in 12+ different accounts)… so I have to fix my custom.css

          Judging from previous problems (look at the bottom of
          https://forum.magicmirror.builders/topic/254/sachin-s-mirror/21
          ) I stink at finding the properties myself - any hints would be most welcome.

          R 1 Reply Last reply Jul 25, 2016, 5:32 AM Reply Quote 0
          • R Offline
            ronny3050 Module Developer @amanzimdwini
            last edited by ronny3050 Jul 25, 2016, 5:32 AM Jul 25, 2016, 5:32 AM

            @amanzimdwini
            That’s a good idea. Note:

            1. Number of emails to display is customizable and the default is 5.
            2. Instead of enforcing people to play around with css, I can have a config property where you can set the font size as ‘big’, ‘medium’, ‘small’.

            Please let me know when you get this module up and running, and whether the above helps.

            A 1 Reply Last reply Jul 25, 2016, 5:47 AM Reply Quote 0
            • A Offline
              amanzimdwini @ronny3050
              last edited by paviro Jul 25, 2016, 8:10 PM Jul 25, 2016, 5:47 AM

              @ronny3050

              Git pull was easy.
              npm install yielded

              pi@MagicMirror2:~/MagicMirror/modules $ npm install
              
              npm WARN enoent ENOENT: no such file or directory, open 
              '/home/pi/MagicMirror/modules/package.json'
              npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/packa                                                                                                                         ge.json'
              npm WARN modules No description
              npm WARN modules No repository field.
              npm WARN modules No README data
              npm WARN modules No license field.
              

              I’ll go ahead, but thought you might want to know.


              Note from admin: Please use Markdown on code and shell snippets!

              R E 2 Replies Last reply Jul 25, 2016, 5:50 AM Reply Quote 0
              • R Offline
                ronny3050 Module Developer @amanzimdwini
                last edited by Jul 25, 2016, 5:50 AM

                @amanzimdwini
                I am sorry if my instructions weren’t clear, I’ll update the README. You need to run “npm install” inside the “email” folder.

                A 1 Reply Last reply Jul 25, 2016, 5:51 AM Reply Quote 1
                • A Offline
                  amanzimdwini @ronny3050
                  last edited by paviro Jul 25, 2016, 8:11 PM Jul 25, 2016, 5:51 AM

                  @ronny3050

                  pi@MagicMirror2:~/MagicMirror/modules $ npm install
                  npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
                  npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/packa                                                                                                                         ge.json'
                  npm WARN modules No description
                  npm WARN modules No repository field.
                  npm WARN modules No README data
                  npm WARN modules No license field.
                  pi@MagicMirror2:~/MagicMirror/modules $ ^C
                  pi@MagicMirror2:~/MagicMirror/modules $ cd ..
                  pi@MagicMirror2:~/MagicMirror $ cd config/
                  pi@MagicMirror2:~/MagicMirror/config $ ls
                  config.1  config.2  config.5.keep  config.good  config.good.js  config.good.swap  config.js  config.js.sample  config.js.save  config.js.save.1
                  pi@MagicMirror2:~/MagicMirror/config $ sudo nano config.js
                  pi@MagicMirror2:~/MagicMirror/config $ cd ..
                  pi@MagicMirror2:~/MagicMirror $ cd modules/
                  pi@MagicMirror2:~/MagicMirror/modules $ ls
                  default  email  MMM-HTTPRequestDisplay  MMM-wordnik  MMM-WunderGround  MMM-Wunderlist  node_modules  README.md  TR_swap
                  pi@MagicMirror2:~/MagicMirror/modules $ cd email/
                  pi@MagicMirror2:~/MagicMirror/modules/email $ npm install
                  email@0.0.1 /home/pi/MagicMirror/modules/email
                  ├─┬ debug@2.2.0
                  │ └── ms@0.7.1
                  ├─┬ imap@0.8.17
                  │ ├─┬ readable-stream@1.1.14
                  │ │ ├── core-util-is@1.0.2
                  │ │ ├── inherits@2.0.1
                  │ │ ├── isarray@0.0.1
                  │ │ └── string_decoder@0.10.31
                  │ └── utf7@1.0.0
                  ├─┬ mailparser@0.4.9
                  │ ├─┬ encoding@0.1.12
                  │ │ └── iconv-lite@0.4.13
                  │ ├── mime@1.3.4
                  │ ├─┬ mimelib@0.2.19
                  │ │ └── addressparser@0.3.2
                  │ └── uue@1.0.0
                  └── underscore@1.8.3
                  
                  npm WARN email@0.0.1 No repository field.
                  npm WARN email@0.0.1 No license field.
                  

                  Note from admin: Please use Markdown on code and shell snippets!

                  R 1 Reply Last reply Jul 25, 2016, 5:52 AM Reply Quote 0
                  • R Offline
                    ronny3050 Module Developer @amanzimdwini
                    last edited by Jul 25, 2016, 5:52 AM

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

                    A 1 Reply Last reply Jul 25, 2016, 6:08 AM Reply Quote 0
                    • A Offline
                      amanzimdwini @ronny3050
                      last edited by Jul 25, 2016, 6:08 AM

                      @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 Jul 25, 2016, 6:11 AM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 9
                      • 10
                      • 1 / 10
                      1 / 10
                      • First post
                        9/92
                        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