This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Sun May 10 14:15:19 -0700 2009 | |
| |
imap2atom.rb | Sun May 10 02:47:49 -0700 2009 |
README.markdown
imap2atom
imap2atom provides a means to serialize an IMAP inbox as an Atom document.
The resultant Atom feed can then be published and subscribed to or plugged
into a query system such as YQL. For
mailing lists, basically.
Getting Started
Install the builder dependency:
$ sudo gem install builder
Use
List available mailboxes:
$ ./imap2atom.rb --list imap://user:password@mail.example.com/
Dumping an INBOX (defaulting to 20 items), using "Me" as the feed title:
$ ./imap2atom.rb --title Me imap://user:password@mail.example.com/INBOX
Dumping the last 5 items in my inbox:
$ ./imap2atom.rb -n 5 imap://user:password@mail.example.com/INBOX
Dumping a Google Apps account:
$ ./imap2atom.rb --gmail imap://user:password@example.org/INBOX
This is the equivalent of:
$ ./imap2atom.rb -p 993 --ssl imap://user%40example.org:password@imap.gmail.com/INBOX
Copyright (c) 2009 Seth Fitzsimmons, released under the MIT license







