From: Horacio Sanson <hsanson@gmail.com>
To: Sup developer discussion <sup-devel@rubyforge.org>
Subject: [sup-devel] Experimental Gmail Source
Date: Thu, 9 May 2013 18:28:10 +0900 [thread overview]
Message-ID: <CAHWBo_Y6jEWCH8O+m1iw5_p4qd8ghxgvCsa1+15xR7fh+6S0nA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1243 bytes --]
I am trying to implement a new source for Gmail accounts. This is copied
from my efforts to do the same in Heliotrope.
Here is an experimental implementation that can read the email from Gmail
and add it to the Sup index:
https://github.com/hsanson/sup/tree/gmail_source
To use:
- Install leveldb gem "sudo gem install leveldb-ruby"
- Add a gmail source: sup-add gmail://username@gmail.com
- Start sup and see how it syncs your emails.
Warnings:
- This is experimental
- This always syncs only the All mailbox so make sure to use an
account with not too many emails for testing.
- All email data and headers are stored in a LevelDB database at:
~/.sup/gmail/account
Help:
- How do I stop the source poll when I quit sup? If I have a large amount
of emails when polling is running and I quit sup the process hangs
there.
Does sup has a mechanism to stop the polling in progress?
- For some reason I get duplicate "Inbox" and "Sent" labels in the list of
labels and I am not sure why.
- I still have no clue on how to handle sync-back. That is how to
propagate
changes made in sup back to Gmail. Any tips on how the maildir source
does it would be appreciated.
regards
Horacio Sanson
[-- Attachment #1.2: Type: text/html, Size: 1958 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
next reply other threads:[~2013-05-09 9:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-09 9:28 Horacio Sanson [this message]
2013-05-09 19:13 ` Eric Weikl
2013-05-11 10:15 ` Gaute Hope
2013-05-11 18:18 ` Horacio Sanson
2013-05-15 2:10 ` Horacio Sanson
2013-05-21 21:47 ` Matthieu Rakotojaona
2013-06-02 2:45 ` Horacio Sanson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHWBo_Y6jEWCH8O+m1iw5_p4qd8ghxgvCsa1+15xR7fh+6S0nA@mail.gmail.com \
--to=hsanson@gmail.com \
--cc=sup-devel@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox