mail-notifr
mail-notifr copied to clipboard
Email opens inside "All mail" folder instead of "Inbox" folder
Clicking on an email in the menu bar dropdown opens the email inside the "All mail" folder, which then leads to some unusual behaviour -- archiving an email from Inbox throws you back into inbox (as email is no longer in this folder, I guess), while archiving in "All mail" doesn't do that, you stay with the same email opened on the screen.
I'll see if this could be fixed. Thanks.
I haven't found out the proper URL to construct the destination email address inside Inbox
.
The current URL used is https://mail.google.com/mail/u/[email]?account_id=[email]&message_id=\(id)&view=conv&extsrc=atom
which lands in All Mail
. This address is also used in official gmail atom feed.
I tried Mimestream and it opens mails in Gmail in the All Mail
folder as well.
Will spend some more time to experiment this.
I might be oversimplifying things, but wouldn't it just be https://mail.google.com/mail/u/[email]/#inbox/(id)
?