*Introduction*
For the V1.0 of the connector, I mainly focus on implementing the basic
e-mail operations like accessing and sending e-mail messages.

*API*
Since there is no data API for Gmail [1], I'll be using IMAP, SMTP
extensions provided by Google [2] for implementation.

*Authentication*
OAuth 2.0 protocol will be used with the SASL XOAUTH2 mechanism supported
by Gmail [3].

*Operations*
Since the bellow listed operations are not API based, we can have any
customized operations with the support of IMAP and SMTP libraries.
So, please let me know if you have any concerns on the below listed
operations.

 1. Sending an e-mail
Support attachments

 2. Listing all unread e-mail messages under a label:
All unread e-mail messages under the specified label will be listed with
their "thread ID"s.

3. Listing all unread e-mails
All unread e-mail messages in the mail box will be listed with their
"thread ID"s

 4. Listing all mails under a label
All e-mail messages under the specified label will be listed with their
"thread ID"

 5. Searching mails under a label
Search the e-mail messages under the specified label according to the
search term given by the user and list the resulted e-mails with their
"thread ID"s

 6. Reading a mail thread
Read the mail thread which belongs to the "Thread ID" given by the user.

 7. Deleting a mail thread
Delete the mail thread which belongs to the "Thread ID" given by the user.

[1] https://developers.google.com/gdata/faq#GmailAtomFeed
[2] https://code.google.com/p/java-gmail-imap/
[3] https://developers.google.com/gmail/oauth_overview

-- 
Sewwandi Perera
Software Engineer

WSO2 Inc.; http://wso2.com
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to