))
(elfeed-protocol-enable)
(define-key elfeed-search-mode-map (kbd "*") (lambda () (interactive) (apply 'elfeed-search-toggle-all '(star))))
-(define-key elfeed-show-mode-map (kbd "*") (lambda () (interactive) (apply 'elfeed-show-tag '(star))))
\ No newline at end of file
+(define-key elfeed-show-mode-map (kbd "*") (lambda () (interactive) (apply 'elfeed-show-tag '(star))))
+
+;; Read email using mu4e
+(require 'mu4e)
+(setq mail-user-agent 'mu4e-user-agent)
+(setq mu4e-get-mail-command "mbsync io")
+(setq mu4e-use-fancy-chars t)
+(setq mu4e-view-show-images t)
+(setq mu4e-sent-folder "/Sent"
+ mu4e-drafts-folder "/Drafts"
+ mu4e-trash-folder "/Trash")
+
\ No newline at end of file
IMAPAccount io
Host mail.vanrenterghem.io
User frederik@vanrenterghem.io
-PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/Documents/paswoorden/frederik@vanrenterghem.io.asc"
+PassCmd "pass mail.vanrenterghem.io/frederik@vanrenterghem.io"
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
Account io
MaildirStore io-local
-Path ~/.mail/io/
-Inbox ~/.mail/io/Inbox
-
-Channel io-default
-Master :io-remote:
-Slave :io-local:Inbox
-
-Channel io-sent
-Master :io-remote:"Sent"
-slave :io-local:sent
-
-Channel io-trash
-Master :io-remote:"Trash"
-slave :io-local:trash
-
-Channel io-archive
-Master :io-remote:"Archive"
-slave :io-local:archive
-
-Channel io-junk
-Master :io-remote:"Junk"
-slave :io-local:junk
+Path ~/Mail/mail.vanrenterghem.io/frederik/
+Inbox ~/Mail/mail.vanrenterghem.io/frederik/Inbox
+Channel io
+Far :io-remote:
+Near :io-local:
+Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Automatically delete messages on either side if they are found deleted on the other.
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *
-
-Group io
-Channel io-default
-Channel io-trash
-Channel io-archive
-Channel io-sent
-Channel io-junk
-
-IMAPAccount biz
-Host imap.gmail.com
-User frederik@vanrenterghem.biz
-PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/Documents/paswoorden/frederik@vanrenterghem.biz.asc"
-SSLType IMAPS
-CertificateFile /etc/ssl/certs/ca-certificates.crt
-
-IMAPStore biz-remote
-Account biz
-
-MaildirStore biz-local
-Subfolders Verbatim
-Path ~/.mail/biz/
-Inbox ~/.mail/biz/Inbox
-
-Channel biz
-Master :biz-remote:
-Slave :biz-local:
-# Exclude everything under the internal [Gmail] folder, except the interesting folders
-Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
-# Or include everything
-#Patterns *
-
-Channel biz-sent
-Master :biz-remote:"[Gmail]/Verzonden berichten"
-Slave :biz-local:sent
-Create Slave
-
-# Automatically create missing mailboxes, both locally and on the server
-Create Both
-# Save the synchronization state files in the relevant directory
-SyncState *
-
-Group biz
-Channel biz
-Channel biz-sent