Liking cljdoc? Tell your friends :D

Imap

A minimalist and partial IMAP client in native Clojure.

  • Does not rely on javax.mail
  • Supports Gmail IMAP extensions (X-GM-RAW search, X-GM-THRID thread IDs, X-GM-MSGID message IDs)
  • Supports fetching messages without their attachments

Alternatives:

  • Clojure-mail is a nice library but it uses javax.mail. As a consequence it does not support Gmail extensions (extended search, threads...) and (to my knowledge) does not support fetching messages without their attachments.
  • gmail-clj is a wrapper for the new Gmail API (not IMAP). So obviously it only works with Gmail.

Dependency

[minimap "0.1.0-SNAPSHOT"]

Usage

(:require [minimap.core :as minimap])

(def session (minimap/login :gmail "email@gmail.com" "password"))

(minimap/search session {:gmail "in:mylabel mysearchquery"})

License

Distributed under the Eclipse Public License, the same as Clojure.

Can you improve this documentation? These fine people already did:
Alexandre Lebrun & Alex Lebrun
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close