HOW TO SET UP GNUS IN EMACS FOR GMAIL IN A SEVEN MINUTES
Enable IMAP in Gmail
Choose which LABELS will appear in Gnus
Set up an App Password
Tell Gnus which server to use
M-x customize
gnus-select-method
nnimap
Address: imap.gmail.com
To send mail
message-send-mail-function
smtpmail-send-it
gnus-message-archive-group
Enter this string:
"Gmail]/Sent Mail" (with the quotes)
One or two essential variables
gnus-interactive-exit nil
gnus-novice-user nil
gnus-expert-user t
Bind B DEL to the Delete Key
;; Bind the delete key to B DEL in Gnus summary mode (add-hook 'gnus-summary-mode-hook (lambda () (local-set-key (kbd "<delete>") 'gnus-summary-delete-article) ))
Set up newsgroups
gnus-secondary-select-methods
nntp "news.gmane.io" (without the quotes)
To enter the server buffer, use the ^
gnus-group-enter-server-mode
command in the group buffer.
For practical tips, see this links: