# set imap_user = "wraithx2@gmail.com" # set imap_pass = "`pass google | head -n 1`" set realname = "Daniel Flanagan" set from = "daniel@lytedev.io" set use_from = yes set envelope_from = yes set smtp_url = 'smtps://wraithx2@gmail.com@smtp.gmail.com:465/' set smtp_pass = `pass google-app-password | head -n 1` set imap_user = 'wraithx2@gmail.com' set imap_pass = `pass google-app-password | head -n 1` set mbox="imaps://imap.gmail.com/[Gmail]/All Mail" set ssl_force_tls = yes set folder = imaps://imap.gmail.com/ set spoolfile = +INBOX set record = "+[Gmail]/Sent Mail" set postponed = "+[Gmail]/Drafts" set editor = "nvim" # G to get mail bind index G imap-fetch-mail macro index ga "=[Gmail]/All Mail" "Go to all mail" macro index gd "=[Gmail]/Drafts" "Go to drafts" macro index gi "=INBOX" "Go to inbox" macro index gs "=[Gmail]/Starred" "Go to starred messages" macro index gt "=[Gmail]/Trash" "Go to trash" macro index,pager d "=[Gmail]/Trash" "Trash" macro index,pager y "=[Gmail]/All Mail" "Archive" set record=""