From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: sending an email to an orgmode file? Date: Wed, 21 Dec 2016 09:18:20 -0800 Message-ID: <871sx15hgj.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJkVE-00019w-OO for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 12:16:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJkVB-0003Yr-Hg for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 12:16:32 -0500 Received: from mail-pg0-x229.google.com ([2607:f8b0:400e:c05::229]:35766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJkVB-0003Xe-By for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 12:16:29 -0500 Received: by mail-pg0-x229.google.com with SMTP id i5so22438211pgh.2 for ; Wed, 21 Dec 2016 09:16:27 -0800 (PST) In-Reply-To: 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" To: Xebar Saram , org mode Hi Xebar, Xebar Saram writes: > im looking for a simple solution that will allow me to send an email from > my mobile phone and habr that email either be appended to a txt(org) file > or perhaps another solution to get my mobile on the go notes onto my laptop > orgmode file. i tried orgzly and mobile org but i would prefer a simple > solution as to send an email > > anyone have any thoughts on this? I'd say a lot depends on the mail setup you use on the machine where you use Org. Emacs-based mail clients will be easier to integrate with Org. But really you're just limited by how much effort you want to sink into this, at least if you store your mail in some format that is easy to read with various tools. If you use Gnus, one solution (I think?) is Gnorb: https://elpa.gnu.org/packages/gnorb.html I don't actually use this or know much about it but other people on this list can tell you more about it. In my own setup, I've settled on just making it easy to linking to an email from a new TODO entry. This is a very general mechanism that works well for me, even though it is not completely automatic. I describe my setup below. I use the Emacs interface for notmuch as my mail client. I integrate it with Org via org-notmuch and Org capturing. Basically, I have a key that automates capturing an email as a TODO item, containing a link to the relevant mail: #+BEGIN_SRC elisp ;; in my Org setup: (require 'org-notmuch) (setq org-capture-templates ; ... `(("t" "Task, Note, Project, etc.") ("tm" "Mail" entry (file ,(concat org-directory "/refile.org")) (file ,(concat org-template-directory "/mail-with-link.txt"))))) ;; in my notmuch setup: (define-key notmuch-search-mode-map "P" (lambda () "postpone message (remove inbox tag, create task to reply)" (interactive) (notmuch-search-tag '("-inbox" "-unread")) (notmuch-search-show-thread) (org-capture nil "tm"))) #+END_SRC The mail-with-link.txt template is simple: #+BEGIN_SRC org * %a :MAIL: :PROPERTIES: :Entered: %U :END: %? #+END_SRC I mostly use this to record emails that I need to *reply* to as TODO items, so a link to the original mail is enough for me. This probably isn't quite what you're looking for, but with more effort on the notmuch side, a setup like this could be used to extract the content of the email into the Org capture. And you could also automate this by looping over the messages that match a certain notmuch query, etc. HTH, Richard