Add gmail email account

This commit is contained in:
Tom Willemse 2016-09-18 00:03:31 +02:00
parent 6be84a24f4
commit eb95d1e97b

View file

@ -729,6 +729,30 @@ To start off, first I need to enable lexical binding.
'("-a" "picturefix"))))))
#+END_SRC
*** gmail
Add my other personal email as a secondary select method.
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'gnus
(add-to-list 'gnus-secondary-select-methods
'(nnmaildir "gmail"
(directory "~/documents/mail/gmail/"))))
#+END_SRC
When sending mail from the gmail account, use the gmail msmtp
accound and set the proper email address.
#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'gnus-msg
(add-to-list 'gnus-posting-styles
'("gmail:"
(name "Tom Willemse")
(address "ryuslash@gmail.com")
(eval (setq message-sendmail-extra-arguments
'("-a" "gmail"))))))
#+END_SRC
** Linewise user-interface
This is the library used by Circe and Slack to display messages.