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

Safe HaskellNone

Imm.Maildir

Synopsis

Documentation

create :: (MonadBase IO m, MonadError ImmError m) => FilePath -> m ()Source

Build a maildir with subdirectories cur, new and tmp.

add :: (MonadBase IO m, MonadError ImmError m) => FilePath -> 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.