Showing Error while downloading mailboxes of the User for the Google Apps Domain

45 views
Skip to first unread message

Nitin Surnar

unread,
Jul 14, 2011, 5:24:43 AM7/14/11
to google-app...@googlegroups.com
Api is enabled in the Google Apps Domain CPanel
I am using Audit Api to download mailboxes of the Google Apps Domain Users
But from yesterday its showing Error The Error Message is as follows:-
com.google.gdata.util.
ServiceException: Service Unavailable
Quota exceeded for the current request

Michael Manoochehri

unread,
Jul 14, 2011, 9:16:43 PM7/14/11
to google-app...@googlegroups.com
Hi Nitin:

Are you making a huge number of Audit requests? The max number of account information requests, for all admins on a domain, is 1000.

- Michael

Nitin Surnar

unread,
Jul 15, 2011, 1:51:01 AM7/15/11
to google-app...@googlegroups.com
Hi Michael,

Thx for the reply
As I want to download more mailboxes for the domain using Audit Api
how can I achieve it ?

Regards,
Nitin

Michael Manoochehri

unread,
Jul 15, 2011, 4:35:02 AM7/15/11
to google-app...@googlegroups.com
Hi Nitin:

Unfortunately, the Email Audit API has a strict limit on account information requests. It is designed for legal compliance purposes only, and as such it is not meant for general archiving or migration purposes.

If you are interested in downloading a huge amount of user mailboxes for migration or archive, I suggest using the IMAP protocol, along with a library such as JavaMail or Python's imaplib.

Michael

Jay Lee

unread,
Jul 17, 2011, 2:41:18 PM7/17/11
to google-app...@googlegroups.com
Michael's suggestion of using IMAP is a good one. Also note that Google's IMAP servers support both 2 and 3 legged OAuth:


they also support a number of proprietary IMAP commands which make it easier to bridge the gap between the standard IMAP protocol and unique Gmail features like message labels and Gmail search:


with those two resources, it should be possible to create a program that can connect to any user malbox (as the user or as the admin) and backup all user mail. I've actually got an open source program, Got Your Back (GYB) that does just that: http://code.google.com/p/got-your-back. Feel free to take a look at the source if your looking for examples.

Jay
Reply all
Reply to author
Forward
0 new messages