Skip to content
/ minimap Public

A minimalist and partial IMAP client in native Clojure (no javax.mail), supports Gmail extensions

Notifications You must be signed in to change notification settings

ar7hur/minimap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A minimalist and partial IMAP client in native Clojure (no javax.mail), supports Gmail extensions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published