--- /dev/null
+Return-Path: <david@belohrad.ch>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 0BE92431FBD\r
+ for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 07:36:20 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id SbJ9eB+AYP04 for <notmuch@notmuchmail.org>;\r
+ Fri, 24 Oct 2014 07:36:08 -0700 (PDT)\r
+Received: from beesknees.cern.ch (beesknees.cern.ch [137.138.197.99])\r
+ (using TLSv1 with cipher AES128-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 54086431FC9\r
+ for <notmuch@notmuchmail.org>; Fri, 24 Oct 2014 07:36:08 -0700 (PDT)\r
+Received: from belohrad by beesknees.cern.ch with local (Exim 4.84)\r
+ (envelope-from <david@belohrad.ch>)\r
+ id 1XhfyH-0002re-7Z; Fri, 24 Oct 2014 16:36:05 +0200\r
+From: David Belohrad <david@belohrad.ch>\r
+To: "notmuch\@notmuchmail.org" <notmuch@notmuchmail.org>,\r
+ "mailing-list-org-mode" <emacs-orgmode@gnu.org>\r
+Subject: how to put into a journal info about the email sent\r
+User-Agent: Notmuch/0.18~rc0+2~gbc64cdc (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Fri, 24 Oct 2014 16:36:05 +0200\r
+Message-ID: <uaxh9yty1pm.fsf@beesknees.cern.ch>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 24 Oct 2014 14:36:20 -0000\r
+\r
+Dear All,\r
+\r
+i'm using org. And I'm using notmuch (that's why I address both mailing\r
+lists). Now, writing an email in everyday bussiness requires a\r
+non-significant time of your workhours. So I'd like to have this event\r
+in my org agenda. So any time I send some email with a given subject,\r
+I'd like to 'automatically' entry the information about it into\r
+e.g. sentmails.org in form of a diary entry, with appropriate tag.\r
+\r
+In example:\r
+\r
+I'm sending a mail to Tom, with subject 'dealing vme register\r
+mapping'. \r
+\r
+At the moment I send this email (using smtpmail), I'd like an entry in\r
+the sentmails.org as follows:\r
+\r
+--------------------------------------------------------------------------------\r
+** 2014-10 October\r
+*** 2014-10-02 Thursday\r
+**** dealing vme register mapping :mail:\r
+[[notmuch:id:7a97bb93e66a41878edd4c04fa764963@cernfe03.cern.ch][dealing\r
+vme register mapping]]\r
+--------------------------------------------------------------------------------\r
+\r
+I thought that I can use following\r
+\r
+(add-hook 'message-send-hook '<mysuperfunction>)\r
+\r
+to hook on sending and generate a capture entry. In fact this works\r
+pretty well _EXCEPT_ the link to the mail sent. The org-store-link\r
+cannot apparently store a link to an email, which so far was not sent\r
+(and not received?) because it claims that\r
+\r
+'org-gnus-store-link: Can not create link: No Gcc header found'\r
+\r
+Hence this is pretty fatal for my diary entry. My question is: is there\r
+any way how to link not-yet-sent/received email as an org-link? Or is\r
+there any way to generate Gcc header before the email is sent and use\r
+this header during sending? Or is\r
+there any other way how to put into my agenda sent emails?\r
+\r
+many thanks\r
+\r
+david\r
+\r
+\r