tpitale / mail_room

Forward mail from gmail IMAP to a callback URL or job worker, simply.
MIT License
195 stars 51 forks source link

Transactional SEEN/UNSEEN #75

Closed tpitale closed 5 years ago

tpitale commented 8 years ago

Delivery errors have so far not been a problem that simply restarting mail_room doesn't fix. But it's possible we would not want those errors on delivery to stop fetching, or to mark messages as SEEN.

When using UNSEEN as the search command, it's impossible to have transactional mail because Google handles marking as SEEN. Whereas NEW/DELETED are controlled by mail-room after delivery.

tpitale commented 5 years ago

Using a search for NEW, and delete_after_delivery should solve this problem.