Add hummingbird to email config
Update email setup Update email for hummingbird
This commit is contained in:
parent
26c1c7d025
commit
7ea370ddec
@ -1,6 +1,6 @@
|
|||||||
;; Email in Emacs via mu4e
|
;; Email in Emacs via mu4e
|
||||||
(use-package mu4e
|
(use-package mu4e
|
||||||
:straight (:host github :repo "djcb/mu" :files ("mu4e/*"))
|
:straight (:local-repo (directory-file-name (file-name-directory (locate-library "mu4e"))) :type built-in)
|
||||||
:if (locate-library "mu4e")
|
:if (locate-library "mu4e")
|
||||||
:commands (mu4e mu4e-update-mail-and-index)
|
:commands (mu4e mu4e-update-mail-and-index)
|
||||||
:hook (after-init . (lambda () (mu4e t)))
|
:hook (after-init . (lambda () (mu4e t)))
|
||||||
@ -24,7 +24,7 @@
|
|||||||
("View in browser" . mu4e-action-view-in-browser))
|
("View in browser" . mu4e-action-view-in-browser))
|
||||||
;; Bookmarked searches
|
;; Bookmarked searches
|
||||||
mu4e-bookmarks '((:name "Inbox"
|
mu4e-bookmarks '((:name "Inbox"
|
||||||
:query "maildir:/jeremy-dormitzer-gmail-com/Inbox OR maildir:/jdormitzer-spotify-com/Inbox"
|
:query "maildir:/jeremy-dormitzer-gmail-com/Inbox OR maildir:/jeremydormitzer-hummingbird-co/Inbox"
|
||||||
:key ?i)
|
:key ?i)
|
||||||
(:name "Unread messages"
|
(:name "Unread messages"
|
||||||
:query "flag:unread AND NOT flag:trashed"
|
:query "flag:unread AND NOT flag:trashed"
|
||||||
@ -44,7 +44,8 @@
|
|||||||
;; Let Gmail handle putting sent messages in the sent folder
|
;; Let Gmail handle putting sent messages in the sent folder
|
||||||
mu4e-sent-messages-behavior 'delete
|
mu4e-sent-messages-behavior 'delete
|
||||||
;; Move to trash folder instead of adding trash flag for Gmail mailboxes
|
;; Move to trash folder instead of adding trash flag for Gmail mailboxes
|
||||||
mu4e-move-to-trash-patterns '("jeremy-dormitzer-gmail-com")
|
mu4e-move-to-trash-patterns '("jeremy-dormitzer-gmail-com",
|
||||||
|
"jeremydormitzer-hummingbird-co")
|
||||||
;; HTML email rendering
|
;; HTML email rendering
|
||||||
shr-use-colors nil
|
shr-use-colors nil
|
||||||
;; Make sure mu4e knows about my different accounts
|
;; Make sure mu4e knows about my different accounts
|
||||||
@ -52,20 +53,20 @@
|
|||||||
mu4e-compose-context-policy 'ask
|
mu4e-compose-context-policy 'ask
|
||||||
mu4e-contexts
|
mu4e-contexts
|
||||||
`(,(make-mu4e-context
|
`(,(make-mu4e-context
|
||||||
:name "Spotify Gmail"
|
:name "Hummingbird Gmail"
|
||||||
:match-func (lambda (msg)
|
:match-func (lambda (msg)
|
||||||
(when msg
|
(when msg
|
||||||
(string-match-p
|
(string-match-p
|
||||||
"jdormitzer-spotify-com"
|
"jeremydormitzer-hummingbird-co"
|
||||||
(mu4e-message-field msg :path))))
|
(mu4e-message-field msg :path))))
|
||||||
:vars '((user-mail-address . "jdormitzer@spotify.com")
|
:vars '((user-mail-address . "jeremydormitzer@hummingbird.co")
|
||||||
(mu4e-compose-signature . nil)
|
(mu4e-compose-signature . nil)
|
||||||
(mu4e-sent-folder . "/jdormitzer-spotify-com/Sent")
|
(mu4e-sent-folder . "/jeremydormitzer-hummingbird-co/Sent")
|
||||||
(mu4e-drafts-folder . "/jdormitzer-spotify-com/Drafts")
|
(mu4e-drafts-folder . "/jeremydormitzer-hummingbird-co/Drafts")
|
||||||
(mu4e-refile-folder . "/jdormitzer-spotify-com/Archive")
|
(mu4e-refile-folder . "/jeremydormitzer-hummingbird-co/Archive")
|
||||||
(mu4e-trash-folder . "/jdormitzer-spotify-com/Trash")
|
(mu4e-trash-folder . "/jeremydormitzer-hummingbird-co/Trash")
|
||||||
(message-sendmail-extra-arguments
|
(message-sendmail-extra-arguments
|
||||||
. ("-a" "jdormitzer-spotify-com"))))
|
. ("-a" "jeremydormitzer-hummingbird-co"))))
|
||||||
,(make-mu4e-context
|
,(make-mu4e-context
|
||||||
:name "Personal Gmail"
|
:name "Personal Gmail"
|
||||||
:match-func (lambda (msg)
|
:match-func (lambda (msg)
|
||||||
|
@ -53,53 +53,53 @@ Channel jeremy-dormitzer-gmail-com-drafts
|
|||||||
Channel jeremy-dormitzer-gmail-com-sent
|
Channel jeremy-dormitzer-gmail-com-sent
|
||||||
Channel jeremy-dormitzer-gmail-com-archive
|
Channel jeremy-dormitzer-gmail-com-archive
|
||||||
|
|
||||||
IMAPAccount jdormitzer-spotify-com
|
IMAPAccount jeremydormitzer-hummingbird-co
|
||||||
Host imap.gmail.com
|
Host imap.gmail.com
|
||||||
User jdormitzer@spotify.com
|
User jeremydormitzer@hummingbird.co
|
||||||
PassCmd "pass show spotify-google-app-password | head -n 1"
|
PassCmd "pass show hummingbird-gmail-app-password | head -n 1"
|
||||||
SSLType IMAPS
|
SSLType IMAPS
|
||||||
CertificateFile ~/cert.pem
|
CertificateFile ~/cert.pem
|
||||||
AuthMechs LOGIN
|
AuthMechs LOGIN
|
||||||
PipelineDepth 50
|
PipelineDepth 50
|
||||||
|
|
||||||
IMAPStore jdormitzer-spotify-com-remote
|
IMAPStore jeremydormitzer-hummingbird-co-remote
|
||||||
Account jdormitzer-spotify-com
|
Account jeremydormitzer-hummingbird-co
|
||||||
MaxSize 25M
|
MaxSize 25M
|
||||||
|
|
||||||
MaildirStore jdormitzer-spotify-com-local
|
MaildirStore jeremydormitzer-hummingbird-co-local
|
||||||
Path ~/.mail/jdormitzer-spotify-com/
|
Path ~/.mail/jeremydormitzer-hummingbird-co/
|
||||||
Inbox ~/.mail/jdormitzer-spotify-com/Inbox
|
Inbox ~/.mail/jeremydormitzer-hummingbird-co/Inbox
|
||||||
SubFolders Verbatim
|
SubFolders Verbatim
|
||||||
|
|
||||||
Channel jdormitzer-spotify-com-inbox
|
Channel jeremydormitzer-hummingbird-co-inbox
|
||||||
Master :jdormitzer-spotify-com-remote:INBOX
|
Master :jeremydormitzer-hummingbird-co-remote:INBOX
|
||||||
Slave :jdormitzer-spotify-com-local:Inbox
|
Slave :jeremydormitzer-hummingbird-co-local:Inbox
|
||||||
|
|
||||||
Channel jdormitzer-spotify-com-all
|
Channel jeremydormitzer-hummingbird-co-all
|
||||||
Master :jdormitzer-spotify-com-remote:
|
Master :jeremydormitzer-hummingbird-co-remote:
|
||||||
Slave :jdormitzer-spotify-com-local:
|
Slave :jeremydormitzer-hummingbird-co-local:
|
||||||
Patterns * ![Gmail]* !"[Google Mail]*" !INBOX !Inbox !Archive !Trash !Sent !Drafts
|
Patterns * ![Gmail]* !"[Google Mail]*" !INBOX !Inbox !Archive !Trash !Sent !Drafts
|
||||||
|
|
||||||
Channel jdormitzer-spotify-com-trash
|
Channel jeremydormitzer-hummingbird-co-trash
|
||||||
Master :jdormitzer-spotify-com-remote:"[Gmail]/Trash"
|
Master :jeremydormitzer-hummingbird-co-remote:"[Gmail]/Trash"
|
||||||
Slave :jdormitzer-spotify-com-local:"Trash"
|
Slave :jeremydormitzer-hummingbird-co-local:"Trash"
|
||||||
|
|
||||||
Channel jdormitzer-spotify-com-sent
|
Channel jeremydormitzer-hummingbird-co-sent
|
||||||
Master :jdormitzer-spotify-com-remote:"[Gmail]/Sent Mail"
|
Master :jeremydormitzer-hummingbird-co-remote:"[Gmail]/Sent Mail"
|
||||||
Slave :jdormitzer-spotify-com-local:"Sent"
|
Slave :jeremydormitzer-hummingbird-co-local:"Sent"
|
||||||
|
|
||||||
Channel jdormitzer-spotify-com-drafts
|
Channel jeremydormitzer-hummingbird-co-drafts
|
||||||
Master :jdormitzer-spotify-com-remote:"[Gmail]/Drafts"
|
Master :jeremydormitzer-hummingbird-co-remote:"[Gmail]/Drafts"
|
||||||
Slave :jdormitzer-spotify-com-local:"Drafts"
|
Slave :jeremydormitzer-hummingbird-co-local:"Drafts"
|
||||||
|
|
||||||
Channel jdormitzer-spotify-com-archive
|
Channel jeremydormitzer-hummingbird-co-archive
|
||||||
Master :jdormitzer-spotify-com-remote:"[Gmail]/All Mail"
|
Master :jeremydormitzer-hummingbird-co-remote:"[Gmail]/All Mail"
|
||||||
Slave :jdormitzer-spotify-com-local:"Archive"
|
Slave :jeremydormitzer-hummingbird-co-local:"Archive"
|
||||||
|
|
||||||
Group jdormitzer-spotify-com
|
Group jeremydormitzer-hummingbird-co
|
||||||
Channel jdormitzer-spotify-com-trash
|
Channel jeremydormitzer-hummingbird-co-trash
|
||||||
Channel jdormitzer-spotify-com-inbox
|
Channel jeremydormitzer-hummingbird-co-inbox
|
||||||
Channel jdormitzer-spotify-com-all
|
Channel jeremydormitzer-hummingbird-co-all
|
||||||
Channel jdormitzer-spotify-com-drafts
|
Channel jeremydormitzer-hummingbird-co-drafts
|
||||||
Channel jdormitzer-spotify-com-sent
|
Channel jeremydormitzer-hummingbird-co-sent
|
||||||
Channel jdormitzer-spotify-com-archive
|
Channel jeremydormitzer-hummingbird-co-archive
|
||||||
|
@ -11,9 +11,9 @@ from jeremy.dormitzer@gmail.com
|
|||||||
user jeremy.dormitzer@gmail.com
|
user jeremy.dormitzer@gmail.com
|
||||||
passwordeval pass show imap.gmail.com | head -n 1
|
passwordeval pass show imap.gmail.com | head -n 1
|
||||||
|
|
||||||
account jdormitzer-spotify-com
|
account jeremydormitzer-hummingbird-co
|
||||||
from jdormitzer@spotify.com
|
from jeremydormitzer@hummingbird.co
|
||||||
user jdormitzer@spotify.com
|
user jeremydormitzer@hummingbird.co
|
||||||
passwordeval pass show spotify-google-app-password | head -n 1
|
passwordeval pass show hummingbird-gmail-app-password | head -n 1
|
||||||
|
|
||||||
account default : jeremy-dormitzer-gmail-com
|
account default : jeremy-dormitzer-gmail-com
|
||||||
|
Loading…
Reference in New Issue
Block a user