dotfiles/mail/.config/mutt/accounts/gmail

24 lines
959 B
Text
Raw Normal View History

2016-11-07 02:27:14 +00:00
# clear previously defined mailboxes
#unmailboxes *
set mbox = "+gmail/Archive"
set postponed = "+gmail/Drafts"
set trash = "+gmail/Trash"
unset record # gmail automatically records outgoing emails
set realname = "George Rawlinson"
set from = "george@rawlinson.net.nz"
# smtp settings
set smtp_pass= `pass mail/george@rawlinson.net.nz`
set smtp_url=smtp://$from@smtp.gmail.com:587
# gmail specific macros
macro index A "<save-message>+gmail/Archive<enter>" "move message to the archive"
macro index S "<save-message>+gmail/Spam<enter>" "mark message as spam"
macro index D "<save-message>+gmail/Trash<enter>" "move message to the trash"
# tag macros
macro index \Ca "<tag-prefix-cond><save-message>+gmail/Archive<enter>" "move tagged messages to archive"
macro index \Cs "<tag-prefix-cond><save-message>+gmail/Spam<enter>" "move tagged messages to spam"
macro index \Cd "<tag-prefix-cond><save-message>+gmail/Trash<enter>" "move tagged messages to trash"