imm-0.6.0.2: Retrieve RSS/Atom feeds and write one mail per new item in a maildir.

Safe HaskellNone

Imm.Maildir

Synopsis

Documentation

class MaildirWriter m whereSource

Methods

init :: m ()Source

Build a maildir with subdirectories cur, new and tmp.

write :: Mail -> m ()Source

Add a mail to the maildir

getUniqueName :: MonadBase IO m => m StringSource

Return an allegedly unique filename; useful to add new mail files in a maildir.