You are not logged in.

#1 2019-10-09 17:23:11

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

GMAIL script for conky

Due to my ISP forcing people to use Windows and Chrome to get email I no longer have my emaill address I have been using for 10 years.

COLOUR ME: BLACK!

Anyway I cannot get conkyEmail to work with gmail at all although the help file says it does but conkyEmail is old and and unsupported python file and gmail has evolved. 

AND I HATE GMAIL - thunderbird worked for all of 2 or three dayS and now I cannot receive so I have to use Firefox.

goodbye claws-mail after 10 years and the same for thunderbird (my wife used that)l

So what I am looking for is a script that with get just the number of "new" mails at a gmail account and display it in a conky like I had conkyEmail do.

Like in the bottom left corner here:
2019-09-09_102133_S11.th.jpg

Anyone got such a script?  Need one for 3 accounts


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#2 2019-10-09 18:00:12

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

Re: GMAIL script for conky

Got you buddy


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#3 2019-10-09 20:38:37

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 648

Re: GMAIL script for conky

Sector11 wrote:

Due to my ISP forcing people to use Windows and Chrome to get email I no longer have my emaill address I have been using for 10 years.

Sorry to hear this Sector ... but are you sure that the reason is what you think it is? I mean, it looks quite a trouble for your ISP to check that standard mail transfer is originated from Windows, and not from Linux? I'm not saying it is impossible (probably), but it is quite difficult on the ISP side ... if I understand what your problem really is. Perhaps, I don't understand. Were you 10-years-old email on gmail based? Or it was somewhere else, and your ISP blocks all other email addresses except gmail email address? Can you perhaps explain in more details what was working before, and doesn't work now? (Of course, be careful to exclude all sensitive information such as real email addresses ...)

For example, I'm using Sylpheed, which is more-less a clone of the clawmail, and I have configured it to have regular access to my gmail address, along with my job email. And it works from everywhere, including my how via ISP.


Postpone all your duties; if you die, you won't have to do them ..

Offline

#4 2019-10-09 21:32:09

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

Re: GMAIL script for conky

TeoBigusGeekus wrote:

Got you buddy

That's using sound if greater than o "new mails"

OK deeper:  No sound here (headphone is watching a movie)
I would like the # of new mails  ie: 5 maube  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#5 2019-10-09 22:55:15

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

Re: GMAIL script for conky

iMBeCil wrote:
Sector11 wrote:

Due to my ISP forcing people to use Windows and Chrome to get email I no longer have my emaill address I have been using for 10 years.

Sorry to hear this Sector ... but are you sure that the reason is what you think it is? I mean, it looks quite a trouble for your ISP to check that standard mail transfer is originated from Windows, and not from Linux? I'm not saying it is impossible (probably), but it is quite difficult on the ISP side ... if I understand what your problem really is. Perhaps, I don't understand. Were you 10-years-old email on gmail based? Or it was somewhere else, and your ISP blocks all other email addresses except gmail email address? Can you perhaps explain in more details what was working before, and doesn't work now? (Of course, be careful to exclude all sensitive information such as real email addresses ...)

For example, I'm using Sylpheed, which is more-less a clone of the clawmail, and I have configured it to have regular access to my gmail address, along with my job email. And it works from everywhere, including my how via ISP.

Fought with the for 12 days of no email.  My ISP bought out another ISP and were merging the systems.
My email came directly from my ISP for that last 10+ years - into claws for my account and into thunderbird for my wife's account.

Started with a few days we could not connect for and hour, a couple of hours, 30 minutes ... then one day could not connect for the entire day.   Now consider I have some mails that dated back to day one with these people and still a bunch of mails from lavabit.com (remember them - Wikileaks).  So as I said the day after we could not get mail for the complete day we phoned, my wife contacted then via WhatsApp and Twitter.  They kept telling us that according to "Their system all was fine." we can get email.  We could not and I sent them an image of "our client page" which shows my account (top), my wife's account (middle) and my MIL's were "Inactive".  NOT A THING ON OUR END HAD CHANGED.

}2019-09-27_150920_S11_2.md.jpg

On the 12th day of arguing with them a techie finally told us they were having problems and that we need to install Windows on a partition on our computer and install Chrome to read our mail.  That's when I gave fibertel the "The Middle Fickle Finger of Fate Award"

I have avoided "Googlemail" from day one, and at some point in time it changed to "gmail".  Now I have a choice:
gmail
hotmail
yahoomail

I would LOVE to have had claws and thunderbird set to get gmail BUT .... OH POO!!!

I keep getting"Network Log":

* Account 'S11': Connecting to SMTP server: smtp.gmail.com:465...
*** Connection closed by the remote host.

Would love to know how you do it.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#6 2019-10-09 23:24:27

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 648

Re: GMAIL script for conky

^Here is my Sylpheed config:

iJv920Us_t.png 3DErhHUS_t.png KZ6GJrog_t.png EUiSSgsL_t.png cDx2raFK_t.png

The first scrot is from 'Configuration | Edit accounts ...'

On the second scrot, the field at the bottom called 'User ID' has my full gmail address "something@gmail.com" (but is not visible since the entry box is quite short).

HTH

Last edited by iMBeCil (2019-10-10 08:02:26)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#7 2019-10-10 04:09:17

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,114

Re: GMAIL script for conky

Sector11 wrote:

That's using sound if greater than o "new mails"

OK deeper:  No sound here (headphone is watching a movie)
I would like the # of new mails  ie: 5 maube  smile

Create a folder in your home folder named conky_gmail.
Put the script in there and create another folder inside the conky_gmail folder called mail_sounds.
Put some wavs inside it (here, have some of mine).
The number of new mails is the number in the first line of the mails_number file.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#8 2019-10-10 07:37:23

unklar
Member
Registered: 2015-10-31
Posts: 937

Re: GMAIL script for conky

https://www.claws-mail.org/faq/index.ph … with_Gmail
https://www.claws-mail.org/faq/index.ph … ccounts.3F

I agree with the opinion of iMBeCiI. With claws-mail this should still work.
I have to test it myself...   wink

Offline

#9 2019-10-10 11:56:30

unklar
Member
Registered: 2015-10-31
Posts: 937

Re: GMAIL script for conky

I took the test, my friend.  (Negative)

The decisive factor is how the account was created with gmail.
In my case, I had created a fictitious account on an Android tablet some time ago (so that they would be satisfied).

Google not only remembers the device, but it automatically marks the login to the account "with secure app" and blocks ALL other logins. (A "protection" against hacker attacks) glasses
With claws-mail I have no chance, unless I log in to Google and mark my account with "allow less secure app".

My test caused Google to send a critical security warning to my gmail account that "a person with my username and password" has attempted to log in and successfully prevented it.   big_smile

Offline

#10 2019-10-10 13:39:11

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 648

Re: GMAIL script for conky

@unklar: quite, this might be the case with Sector as well. Good observation.

Personally, I have no idea what type of acct I have on gmail ... now and then I receive a notification from gmail about 'new device' which logs in to my acct, but it is always myself doing stuff ... Anyhow, I regularly connect to my gmail acct with my Sylpheed, my Android phone, and occasionally via web with palemoon. And it all works flawlessly.


Postpone all your duties; if you die, you won't have to do them ..

Offline

Board footer

Powered by FluxBB