- edited description
Integrate Piler with Google Apps Free Edition
A major drawback of the Google Apps Free Edition is that there is no way to centrally back up emails.
Piler could be used as a solution to this problem with the following enhancements: * Use IMAP as the primary email input (opposed to SMTP) (Separate IMAP connection for each user) * Support Google OAUTH authentication. User accounts could be provisioned automatically on first login. * Once the user logged in with Google Auth, his emails can be accessed over IMAP with OAUTH authentication. (This method is used by the SMS Backup + tool on Android, source is available here: https://github.com/jberkel/sms-backup-plus)
Comments (7)
-
reporter -
repo owner OK, the IMAP polling seems possible. However do you mean that after the user logs in then piler should download, and archive the messages real time? Or is it possible to save a token or alike when the user logs in, then later use that token to periodically download and archive his messages?
-
repo owner I've made some progress. You can get an access token by OAuth2, and I was able to retrieve my emails.
The plan is that when a user logs in the first time, then he's added to the piler database, and the access token is recorded with the refresh token. Then it's possible to run a periodic polling to download and archive new emails. I'll also note the latest retrieved messaged id, then I can continue downloading+archiving only the new messages.
-
reporter Yes, this is exactly what I had in mind. Great progress so quickly!
-
repo owner I think I'm done. Please download the latest master branch (https://bitbucket.org/jsuto/piler/get/master.tar.gz), and install the piler binaries and the web interface according to the docs. Then as an additional step, follow these instructions:
http://www.mailpiler.org/en/googleappsfree.html
If you have any problems, need help, etc. just reopen the issue, or write to me.
-
repo owner - changed status to resolved
-
repo owner -
assigned issue to
-
assigned issue to
- Log in to comment