From: Torsten Wagner <torsten.wagner@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: direct link to mails in gmail
Date: Thu, 20 Oct 2011 11:41:24 +0900 [thread overview]
Message-ID: <4E9F8A54.5070007@gmail.com> (raw)
Hi,
I just figured out some kind of very interesting possibility.
All the personal data and security feelings aside, I use a gmail account
since I share it between many different computers.
In my org-files, I would sometimes like to link to a particular mail
e.g., for reference purpose.
Today I noticed that each email in my google mail account has a unique
and fixed URL.
Thus, I gave it a try
1. Open your gmail account (log-in)
2. Open the mail you like to refer too.
3. Copy the URL
4. Add the URL as a link (C-c C-l) to your org-file
After that, clicking on the link will open the mail directly in your
standard webbrowser. If you logged out from google mail in between, you
are ask to log-in first, after that select the link again.
But it is getting even better. You are not only able to link to
particular mails within org-mode, but also to google mail labels
(folders) or search results.
To make it even more org-mode friendly one can set-up org-capture in
your webbrowser [1].
I added the following to the org-capture-templates list
("g" "Gmail-link" entry (file+headline "~/org/work.org" "Gmail-links") "%A")
Thus, pressing the assigned button in your browser and emacs will ask
you what kind of link you want to add to your file. Press g for gmail
and enter the description for the link (this could be done
automatically, but I find it to long and not helpful). You will find the
link in your capture buffer in emacs for further processing
I really like it and I hope others find this useful too.
Not sure about the safety issue to link to URLs within your gmail
account. Maybe others can comment on this.
All the best
Totti
[1] http://orgmode.org/worg/org-contrib/org-protocol.html
next reply other threads:[~2011-10-20 2:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-20 2:41 Torsten Wagner [this message]
2011-10-20 7:06 ` direct link to mails in gmail Rainer M Krug
2011-10-20 7:30 ` Sebastien Vauban
2011-10-20 7:33 ` Carsten Dominik
2011-10-20 13:54 ` Sebastien Vauban
2011-10-20 7:42 ` Rainer M Krug
2011-10-20 12:56 ` Otto Pichlhöfer
2011-10-20 13:41 ` Tom
2011-10-22 6:48 ` Niels Giesen
2011-10-22 10:01 ` suvayu ali
2011-10-22 11:43 ` Niels Giesen
2011-10-22 11:57 ` suvayu ali
2011-10-22 12:36 ` Niels Giesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E9F8A54.5070007@gmail.com \
--to=torsten.wagner@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).