This is a very preliminary higher-level Haskell binding for the Notmuch (notmuchmail.org) email indexing library. There is no documentation here; see the Notmuch documentation for hints on how to use this.
Documentation
databaseOpen :: FilePath -> DatabaseMode -> IO DatabaseSource
databaseClose :: Database -> IO ()Source
databaseUpgrade :: Database -> Maybe UpgradeCallback -> IO ()Source
queryThreads :: Query -> IO ThreadsSource
queryMessages :: Query -> IO MessagesSource
queryCountMessages :: Query -> IO WordSource
getThreadID :: Thread -> IO StringSource
threadCountMessages :: Thread -> IO IntSource
threadGetAuthors :: Thread -> IO StringSource
threadGetSubject :: Thread -> IO StringSource
threadGetTags :: Thread -> IO TagsSource
messageGetFlag :: Message -> MessageFlag -> IO BoolSource
messageSetFlag :: Message -> MessageFlag -> Bool -> IO ()Source
messageGetDate :: Message -> IO UTCTimeSource
messageGetTags :: Message -> IO TagsSource
messageFreeze :: Message -> IO ()Source
messageThaw :: Message -> IO ()Source