by jedisct1 · 1y ago · 0 comments
Being able to select emails using regular expressions is super useful.
IMAPFilter is also simple and powerful to quickly sort email.
I am also able to integrate (a locally hosted) LanguageTool to check the grammar in the editor.
The only issue is to write emails with embedded images. But personally I don't like such emails for occupying the space of the mailbox.
Here is and example of a config file for a gmail address :
```
host: imap.gmail.com
port: 993
tls: true
tlsOptions:
rejectUnauthorized: false
username: {{ youremailaddresshere }}
password: ''
passwordCMD: pass mw/{{ youremailaddresshere }} | head -n1
onNewMail: mailsync {{ youremailaddresshere }} | while read OUTPUT; do notify-send "" "$OUTPUT"; done
onNewMailPost: ''
onDeletedMail: ''
onDeletedMailPost: ''
boxes:
- INBOX
```indent it with 2+ spaces
like
this> rejectUnauthorized: false
Means trust any cert?
I took it from my config which I did a long time ago and I guess I didn't pay attention enough when doing it, my bad !