Hi Claudio, I'm looking for a technical way to achieve the result. Can you think of any other way of accessing the mailbox without using IMAP? I found some information about Gmail APi but it looks like it allows to pull only the UNREAD messages.
M. On Thursday, April 19, 2012 12:30:11 AM UTC-4, Claudio Cherubino wrote: > > Hi Michael, > > It is technically possible, but please note that the Email Audit API can > only be used for legal compliance. > I'm not a lawyer, but I'd recommend to ask one before using that API for > any other reason. > > Claudio > > On Wed, Apr 18, 2012 at 4:49 PM, Michael Gawrychowski < > [email protected]> wrote: > >> Hi Claudio, I found some information about the Audit Api and it looks >> like it allows to download the whole mailbox. Would it be possible to >> download all messages then and process them on a local machine? >> >> On Wed, Apr 18, 2012 at 4:38 PM, Claudio Cherubino <[email protected] >> > wrote: >> >>> Hi Michael, >>> >>> Gmail doesn't expose a dedicated API but, as you already know, it >>> supports the standard IMAP protocol: >>> >>> https://developers.google.com/google-apps/gmail/oauth_overview >>> >>> Perhaps you can rely on sending multiple requests instead of a single >>> one that might take a lot of time. >>> >>> Claudio >>> >>> >>> On Wed, Apr 18, 2012 at 1:34 PM, Michael Gawrychowski < >>> [email protected]> wrote: >>> >>>> Hi, I'm working on a project that will pull all messages from the ALL >>>> MAIL folder in Gmail. Is there any API to do that? I used imap to access >>>> the mailbox but for large folders the process timeouts after 45mins so it >>>> would be great if it was an API for this. >>>> >>>> >>>> Thanks >>>> Michael G. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Google Apps Domain Information and Management APIs" group. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/GihH93ERHMEJ. >>>> To post to this group, send email to >>>> [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/google-apps-mgmt-apis?hl=en. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Apps Domain Information and Management APIs" group. >>> To post to this group, send email to >>> [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/google-apps-mgmt-apis?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Apps Domain Information and Management APIs" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-apps-mgmt-apis?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/6h5noI57Iu4J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
