Add support for Maildir

Signed-off-by: Thibaut Girka <thib@sitedethib.com>