GmailNotifier

UUID: gmail@lauritsriple
Last edited:
5 months ago 2021-04-04, 13:07
Last commit: [c91aaafa] Hungarian translation and update for some previous translations for Cinnamon spices applets (#3718)

Shows most recent mails, and how many unread messages you have.

README

Close

cinnamon-gmail-applet

Should be working. Not completely finished. Only tested on arch linux.

Needed Python libaries

keyring,keyrings-alt,feedparser,urlparser (I think this is installed by default):. To install them you need pip for python3. Short install list:

sudo apt-get install pip3
sudo pip3 install feedparser
sudo pip3 install keyring
sudo pip3 install keyrings-alt

If you are using Cinnamon on Linux Mint you can install the required python libraries via apt

apt install python3-feedparser python3-keyring python3-keyrings.alt

Storage of username and password

Uses the system keyring service (gnome-keyring) to store and extract the password, so they are not stored in cleartext. You might have to install this. If you are using 2-step authentication for your google account you will need to create an app password to use in the applet at https://myaccount.google.com/u/0/apppasswords

Gmail atom feed

Uses the gmail atom feed to get info from gmail. You might have to enable access for less secure apps in gmail. Test in your browser if you have access with one of these links. https://mail.google.com/mail/feed/atom or https://username:password@mail.google.com/mail/feed/atom

Install from git

cd ~/.local/share/cinnamon/applets git clone https://github.com/lauritsriple/cinnamon-gmail-applet.git gmail@lauritsriple Merged to https://github.com/linuxmint/cinnamon-spices-applets/

Install from spices

You can install this from spices. Just click availible applets (online) and serach for gmail. There is currently two applets with almost the same name so make sure you choose the one which has gmail@lauritsriple. I tried to get the other one to work, but i couldn't and i didn't like that it stored password in plain text.

TODO

  • [X] Add notifications when receiving new mail
  • [X] Lit panel icon on new mail
  • [ ] Move atom feedparser to pure js
  • [ ] Move credential storage to pure js
  • [ ] Configure storage of passord in settings-schema.json to hide password while typing

Log In To Comment!

11 Comments

Ronald Haring
Ronald Haring-10 months ago
trying to get it to work on popos cinnamon, complains about missing feedparser however: pip3 install feedparser Requirement already satisfied: feedparser in /home/linuxbrew/.linuxbrew/lib/python3.8/site-packages (6.0.2) Requirement already satisfied: sgmllib3k in /home/linuxbrew/.linuxbrew/lib/python3.8/site-packages (from feedparser) (1.0.0) using the google generated password and i when i click the atom feed(. https://mail.google.com/mail/feed/atom i see my emails
mmikecc
mmikecc-1 year ago
Got it working fairly easily using the provided instructions here on Linux mint 20, and Im glad :)
Rob
Rob-1 year ago
Doesn't work, tells me the prerequisites are not installed even though they are via pip on Arch Linux.
damanbaird
damanbaird-2 years ago
Works on Linux Mint 19.2
Vlad-Ver
Vlad-Ver-2 years ago
LM 19.1 Does not work! "Error from json parser"
Jan Helbling
Jan Helbling-3 years ago
LM 18.3: it Works! Thanks for this great applet!
rickrich
rickrich-3 years ago
On Fedora 26 I get: ERROR: error from json parser feedparser, keyring, and keyrings-alt are installed. Username and password are correct.
Fedora Tux
Fedora Tux-3 years ago
On Fedora 26 27 never working
Lvaskz
Lvaskz-3 years ago
Hi, i can not instal pip3, some error
Sergey
Sergey-4 years ago
There is an error in "Needed Python libaries": sudo pip3 install keyrings correct is keyring
emilio rojas hernandez
no se como funciona probare