Yes Indika. But in the initial discussions, we thought of mainly focusing
on the e-mail transactions than Gmail settings.

As suggested by Samisa, I'll first implement one operation and see whether
I can take some more operations to implement.

Thanks,
Sewwandi


On Mon, Mar 24, 2014 at 10:30 PM, Indika Kularathne <indika....@gmail.com>wrote:

> There are more operations [0] that you can see in gmail rest api.
>
> [0] - https://developers.google.com/admin-sdk/email-settings/?csw=1
>
> Thanks
> BR
> Indika Kularathne
>
>
>
> On Mon, Mar 24, 2014 at 5:08 PM, Samisa Abeysinghe <sam...@wso2.com>wrote:
>
>>
>>
>>
>> On Mon, Mar 24, 2014 at 4:54 PM, Sewwandi Perera <sewwa...@wso2.com>wrote:
>>
>>> Hi Samisa,
>>>
>>> As I mentioned above, there is no specific API for Gmail. Therefore, I
>>> am going to use the "java-gmail-imap" library given in [1].
>>> The Operations which I have listed out in the above mail can be
>>> implemented using the "java-gmail-imap" library.
>>>
>>> I planned only for 7 operations to fit into the given time frame.
>>>
>>
>> That is too low. We can do more in  three weeks
>>
>>
>>> [1] https://code.google.com/p/java-gmail-imap/
>>>
>>> Regards,
>>> Sewwandi
>>>
>>>
>>> On Mon, Mar 24, 2014 at 3:29 PM, Samisa Abeysinghe <sam...@wso2.com>wrote:
>>>
>>>>
>>>> On Mon, Mar 24, 2014 at 3:29 PM, Samisa Abeysinghe <sam...@wso2.com>wrote:
>>>>
>>>>> So you are going to support only 7 operations? Is that all we have in
>>>>> this original Gmail PI?
>>>>>
>>>>
>>>> Menat to say API
>>>>
>>>>>
>>>>>  Thanks,
>>>>> Samisa...
>>>>>
>>>>>
>>>>> Samisa Abeysinghe
>>>>>
>>>>> Vice President Developer Evangelism
>>>>>
>>>>> WSO2 Inc.
>>>>> http://wso2.com
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Mar 24, 2014 at 2:58 PM, Sewwandi Perera <sewwa...@wso2.com>wrote:
>>>>>
>>>>>> *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
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Sewwandi Perera
>>> Software Engineer
>>>
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>


-- 
Sewwandi Perera
Software Engineer

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to