It is possible now. I figured it out after some trial and error. I don't
know if it was a month ago when you originally posted, but I'm replying
just in case you still need help or in case someone else finds this thread
like I did wondering how to do it.
You have to create the labels with the
`gdata.apps.emailsettings.client.EmailSettingsClient` object before you
upload the emails. You also have to create each level one at a time.
Below is an example in Python. After you do that then you just specify the
full label ('mylabel/stuff/magic') when you upload your emails with the
migration API.
from gdata.apps.emailsettings.client import EmailSettingsClient
if __name__ == "__main__":
client = EmailSettingsClient(domain="mydomain.com")
client.ClientLogin(email="[email protected]",
password="mypassword",
# The source can be anything you want.
source="MyDomain-TestApp-v1")
# Create nested labels for the [email protected]
#
# mylabel
# stuff
# magic
client.create_label("testaccount", "mylabel")
client.create_label("testaccount", "mylabel/stuff")
client.create_label("testaccount", "mylabel/stuff/magic")
On Friday, April 6, 2012 9:17:06 AM UTC-7, Mally Mclane wrote:
>
> Tried and exhausted Google Support and the migration specialist, but
> thanks for the pointers!
> On Apr 6, 2012 5:12 PM, "Claudio Cherubino" wrote:
>
>> Hi Mally,
>>
>> Have you tried opening a support case for that at
>> http://support.google.com/a/bin/request.py ?
>> I'm confident someone from the Google Apps deployment team can share the
>> best practices.
>>
>> Claudio
>>
>> On Fri, Apr 6, 2012 at 12:34 AM, Mally Mclane wrote:
>>
>>> Hi Claudio
>>>
>>> On Thu, Apr 5, 2012 at 11:00 PM, Claudio Cherubino
>>> wrote:
>>> > Hi Mally,
>>> >
>>> > Yes, this is the right forum for the Email Migration API.
>>> > The missing support for nested labels is one of the limits of the API
>>> and is
>>> > reported in the documentation:
>>> >
>>> >
>>> https://developers.google.com/google-apps/email-migration/#email_migration_api_limits_and_quotas
>>> >
>>> > "During migration, a folder's full path becomes the label name. Nested
>>> > folders are migrated as flat labels. Labels are not nested."
>>>
>>>
>>> Thanks - I must have missed that.
>>>
>>> I appreciate this isn't the forum, but I'm really not sure how to
>>> achieve a successful migration now - The migration tool doesn't do the
>>> labels, crafting it ourselves using the API doesn't do the labels and
>>> if we do it using imapsync or something, we can only do 500mb a
>>> day...... Some of users have upwards of 20GB....
>>>
>>> Mally
>>>
>>> --
>>> 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/-/Vfyt8MOnVM8J.
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.