summaryrefslogtreecommitdiff
path: root/alot/mail/policy.py
Commit message (Collapse)AuthorAge
* mail/reply: rewrite recipient selectionAnton Khirnov2021-11-24
| | | | | | | | Thoroughly ensure that To+Cc contains neither our own address (except when it is wanted) nor any duplicates. Use structured headers provided by email.headerregistry to simplify dealing with addr-spec vs. mailbox (display name + <addr-spec>).
* mail: add a custom email policyAnton Khirnov2021-11-24
Uses structured parsing for more headers.