Gmail API samples

Mail importer for Gmail

Mail Importer for Gmail is an open-source project from Google that uploads the contents of a Thunderbird mail archive to Gmail, doing its best to preserve the read state, flagged state, and folders of the messages. It is written in Java and uses the users.messages.import method.

Clone the GitHub repository to get the full source code, or browse the Gmail-related code.