Email Migration API
The G Suite Email Migration API v2 (EMAPIv2) is officially deprecated as of February 13, 2015. The Gmail API replaces it. EMAPIv2 will be shut down November 1, 2015. You must migrate your application before that date, otherwise any features using this API will cease to function. For information about migrating your app, see the migration guide.
This feature isn't available in the legacy free edition of Google Apps.
The Email Migration API enables you to migrate email from any email data source into a G Suite Gmail account. You can write extraction code which operates against an email server data store, interface protocol, or email client data store. You can then use this API to upload the email messages to a target mailbox, specifying the correct labels, date, and status. The Email Migration API supports administrators migrating mail to accounts other than their own, and supports end users migrating mail to their own accounts.
Email Migration API Operations and Elements
|Operations migrate||Legacy email messages to a G Suite Gmail account|
|Elements include||Labels, Drafts, mail appears in Inbox, Sent Mail, Starred, Trash, Unread, and Base64 Encoding|
Note: For additional APIs that are used in email migration and email routing, see G Suite Gmail APIs.