--- /dev/null
+Return-Path: <tjim@mac.com>\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 7FF59431FBC\r
+ for <notmuch@notmuchmail.org>; Sat, 7 Mar 2015 12:23:59 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.139\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.139 tagged_above=-999 required=5\r
+ tests=[DNS_FROM_AHBL_RHSBL=2.438, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_MED=-2.3] 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 bvUj2LBR7gyP for <notmuch@notmuchmail.org>;\r
+ Sat, 7 Mar 2015 12:23:56 -0800 (PST)\r
+Received: from nk11p00mm-asmtp004.mac.com (nk11p00mm-asmtp004.mac.com\r
+ [17.158.161.3])\r
+ (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 53684431FAE\r
+ for <notmuch@notmuchmail.org>; Sat, 7 Mar 2015 12:23:56 -0800 (PST)\r
+Received: from localhost (aegis.CS.Princeton.EDU [128.112.139.195])\r
+ by nk11p00mm-asmtp004.mac.com\r
+ (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4\r
+ 2014))\r
+ with ESMTPSA id <0NKU00GHPZBSNY00@nk11p00mm-asmtp004.mac.com> for\r
+ notmuch@notmuchmail.org; Sat, 07 Mar 2015 20:23:53 +0000 (GMT)\r
+X-Proofpoint-Virus-Version: vendor=fsecure\r
+ engine=2.50.10432:5.13.68,1.0.33,0.0.0000\r
+ definitions=2015-03-07_02:2015-03-06, 2015-03-07,\r
+ 1970-01-01 signatures=0\r
+X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\r
+ suspectscore=3 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\r
+ adjust=0\r
+ reason=mlx scancount=1 engine=7.0.1-1412110000\r
+ definitions=main-1503070221\r
+From: Trevor Jim <tjim@mac.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2] go: add binding for notmuch_message_get_date\r
+Date: Sat, 07 Mar 2015 15:23:51 -0500\r
+Message-id: <m2pp8kimjs.fsf@att.com>\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: Sat, 07 Mar 2015 20:23:59 -0000\r
+\r
+\r
+---\r
+ bindings/go/src/notmuch/notmuch.go | 17 ++++++++++++++++-\r
+ 1 file changed, 16 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/bindings/go/src/notmuch/notmuch.go b/bindings/go/src/notmuch/notmuch.go\r
+index b9230ad..5857b67 100644\r
+--- a/bindings/go/src/notmuch/notmuch.go\r
++++ b/bindings/go/src/notmuch/notmuch.go\r
+@@ -801,7 +801,22 @@ func (self *Message) SetFlag(flag Flag, value bool) {\r
+ C.notmuch_message_set_flag(self.message, C.notmuch_message_flag_t(flag), v)\r
+ }\r
+ \r
+-// TODO: wrap notmuch_message_get_date\r
++/* Get the timestamp (seconds since the epoch) of 'message'.\r
++ *\r
++ * Return status:\r
++ *\r
++ * NOTMUCH_STATUS_SUCCESS: Timestamp successfully retrieved\r
++ *\r
++ * NOTMUCH_STATUS_NULL_POINTER: The 'message' argument is NULL\r
++ * \r
++ */\r
++func (self *Message) GetDate() (int64, Status) {\r
++ if self.message == nil {\r
++ return -1, STATUS_NULL_POINTER\r
++ }\r
++ timestamp := C.notmuch_message_get_date(self.message)\r
++ return int64(timestamp), STATUS_SUCCESS\r
++}\r
+ \r
+ /* Get the value of the specified header from 'message'.\r
+ *\r
+-- \r
+2.2.2\r
+\r