open the mailbox in default browser

Asked by Alican Kaylan


It might be useful if there is a quick way to open the mail in the browser. It is very useful as it is. it notifies instantly as a new mail comes and you can check your recent mails without the necessity of opening the browser. But if there is an important mail i have to open the browser, type the mailbox address, browse through the mailbox and open the mail. It would be nice if there had been a way to open your mailbox easily.

Question information

English Edit question
Gmail Watcher Edit question
No assignee Edit question
Solved by:
Owais Lone
Last query:
Last reply:
Revision history for this message
Best Owais Lone (loneowais) said :

Hello Alican,

Unfortunately, this is not as simple as it sounds. People use evolution, thunderbird, postler, as clients. I've tried nailing this in the past versions and have succeeded but one thing remains and that is multiple accounts. How can gmailwatcher tell the browser to open the inbox of a particular account? One way would be to set cookies of the browser but then their are multiple browsers. In short, this creates more issues than it solves. It's better to have less perfectly working features than to have loads of half baked ones. I'm sorry, but this is not on the radar. Thanks for getting involved.


Revision history for this message
Alican Kaylan (alicankaylan) said :

Hi again,

I have thought something simple like typing in the terminal xdg-open
In my case, i am always signed in to the account then it opens my inbox. Gmailwatcher knows the user account so I thought i would be useful to have a shortcut to the mailbox from the gmailwatcher. i guess xdg-open solves the multiple browser problem but i don't know the technical difficulties here.
Thanks for the reply.

Alican Kalan

Revision history for this message
Owais Lone (loneowais) said :

Multiple browsers is not the problem at all. It can easily be tackled using the webbrowser python module. The problem is opening a particular account in gmail. It doesn't work well with ''. Only way is to manually edit browsers cookies to change the current session so it logs into the correct account but that is too much of a hack + different browser will need different code for changing cookies, that's what I meant by different browser issue.

Revision history for this message
Alican Kaylan (alicankaylan) said :

Thank you again for the explanation.

Revision history for this message
Onno Steenbergen (osteenbergen) said :

Google supports multiple mail accounts now only not by name (as far as i know) but by number: is my personal mail while is my google apps account

Adding a field where the user can input the number would for now fix this issue.