Use unwrap_or_default to simplify code
Use a "match guard" to reduce nesting of code
Simplify logging and avoid using an extra Vec
A stripped down "rewrite" of archivemail in Rust. The old archivemail utility is written for Python2 and uses an older Python mail library, as such most distros don't package it anymore.
Currently, it only supports moving mail to a different maildir location or deleting emails older than X days (default is 31).