From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: direct link to mails in gmail Date: Thu, 20 Oct 2011 11:41:24 +0900 Message-ID: <4E9F8A54.5070007@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGiZU-00075R-Hr for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 22:41:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGiZT-0001wN-8T for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 22:41:28 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:51124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGiZT-0001wF-4k for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 22:41:27 -0400 Received: by ywb3 with SMTP id 3so2780497ywb.0 for ; Wed, 19 Oct 2011 19:41:26 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Mailing List 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