+
+;; notmuch
+(setq mail-user-agent 'message-user-agent)
+(setq user-mail-address "ram@rkrishnan.org"
+ user-full-name "Ramakrishnan Muthukrishnan")
+
+;; smtp
+(setq smtpmail-stream-type 'ssl
+ smtpmail-smtp-server "mail.messagingengine.com"
+ smtpmail-smtp-service 465)
+
+;; addressbook
+(require 'notmuch-address)
+(setq notmuch-address-command "/usr/bin/notmuch-addrlookup")
+(notmuch-address-message-insinuate)
+
+(require 'smtpmail)
+(setq message-send-mail-function 'smtpmail-send-it)
+(require 'starttls)
+
+;; sign all emails
+(add-hook 'message-setup-hook 'mml-secure-message-sign-pgp)
+
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )