emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] direct link to mails in gmail


From: Tom
Subject: Re: [O] direct link to mails in gmail
Date: Thu, 20 Oct 2011 13:41:57 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Rainer M Krug <r.m.krug <at> gmail.com> writes:

>  That is really nice - and I used it to link to gmail emails
> from rtm - but there is one thing youi should be aware of: the
> link is only valid, if the mail keeps the label. As an example:
> If I copy the link from the inbox, paste it into an org file,
> and *then* archive the mail, the link is, to my knowledge, not
> valid any more, as it contains the label in it. So: it works,
> but it is essential to copy either the link when the label is
> selected which will be permanent, or, saver, copy the url in
> the All Mail folder.Cheers and thanks for the tip,Rainer  

Since any mail can be found under the All label by definition the
simplest solution is extracting the message id from the end of
the current url and then creating a new url pointing to All. 
This URL should always work unless the mail is deleted:

https://mail.google.com/mail/?shva=1#all/<msgid>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]