Skip to content

Instantly share code, notes, and snippets.

@priyadarshan
Forked from anonymous/gist:5055224
Created March 5, 2013 21:38
Show Gist options
  • Save priyadarshan/5094523 to your computer and use it in GitHub Desktop.
Save priyadarshan/5094523 to your computer and use it in GitHub Desktop.
(setq mu4e-mu-binary "/usr/local/bin/mu"
mu4e-sent-folder "/[Gmail].Sent Mail"
mu4e-drafts-folder "/[Gmail].Drafts"
mu4e-trash-folder "/[Gmail].Trash"
mu4e-refile-folder "/Archives"
mu4e-use-fancy-chars nil)
(setq user-mail-address "foo"
user-full-name "bar"
mail-user-agent 'message-user-agent
message-kill-buffer-on-exit t)
(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it
starttls-use-gnutls t
starttls-gnutls-program "gnutls-cli"
starttls-extra-arguments '("--insecure")
smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil))
smtpmail-auth-credentials (expand-file-name "~/.authinfo")
smtpmail-default-smtp-server "smtp.gmail.com"
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-smtp-service 587
smtpmail-debug-info t)
(setq mu4e-html2text-command "w3m -dump -T text/html")
(setq mu4e-bookmarks
'(("flag:unread AND NOT flag:trashed AND NOT maildir:/[Gmail].Trash" "Unread messages" 117)
("date:today..now AND NOT flag:trashed AND NOT maildir:/[Gmail].Trash" "Today's messages" 116)
("date:7d..now" "Last 7 days" 119)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment