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

19 lines
641 B
Text

# 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"