Email Backup - How to Set Up Gmail as an Email Account

Email Backup


Email service gmail

Google Gmail is a free email service from Google. Retrospect 15 for Windows and Mac are certified to back up and migrate Gmail. Follow these step-by-step instructions for configuring Retrospect.


Configuration

Retrospect needs the following pieces of information to access Gmail:

  • Email Addressyour_email_address@gmail.com

  • User Nameyour full name (for display purposes only)

  • Passwordyour email password

  • IMAP Serverimap.gmail.com

  • IMAP Port993 (Mac only, Windows always set to 993)

On Windows, select "Email Accounts" under "Volumes" and click "Properties" to add an email account.

Email add account win

On Mac, select the plus button under "Sources" and then "Email" to add an email account.

Email add account mac

If you receive "error 8256", please check the following:

  • Verify your email address and password

  • Verify you have followed the instructions in Security Settings.

If you receive "error 8252", please check your IMAP server and port.


Security Settings

Gmail does not allow third-party applications to connect by default if they do not use OAuth authentication. Like most third-party applications, Retrospect uses the standard IMAP protocol with SSL encryption for authentication, but for Gmail, you will see error 8253, error 8256, or error 8259 "sign-in prevented from a less secure app" when you try to set it up. To fix this, you need to follow one of the following instructions:

Two-Factor Authentication and Application-Specific Password

  1. Visit 2-Step Verification.

  2. Visit "App Passwords".

  3. Create an application-specific password for Retrospect.

Allow less secure apps

  1. Visit "My Account".

  2. Select "Apps with Account Access".

  3. Enable "Allow less secure apps".

Gmail allow less secure apps


IMAP Setting

By default, Gmail only downloads 1,000 messages, so Retrospect will only see at most 1,000 emails in the account. To change this:

  1. Log into Gmail.

  2. Visit "Settings".

  3. Go to "Forwarding and POP/IMAP".

  4. For the option "Limit IMAP folders to contain no more than this many messages", switch it to "Do not limit the number of messages in an IMAP folder (default)".


Adding Email Account to Backup Script

Adding an email account to a backup script is the same as any other source. Launch the Mac Backup Assistant or Windows Backup Wizard and select the email account as a source. If you use the advanced mode, the email accounts are listed along with the other sources.

Email add email win

Email add email mac


Performance

Below are performance metrics for gauging how long your email operations will take. Keep in mind that they vary greatly by the email service’s responsiveness.

  • Scanning: For scanning, Retrospect downloads successive sets of email headers. We have seen Retrospect scan 150 emails per second for 100,000 emails on a Gmail account, taking 10 minutes. We have also seen instances where scan is as slow as 10 emails per second.

  • Backup: For backup, Retrospect downloads each email in serial. In testing, we have seen a backup of 30,000 emails with 3 GB of data take 2.5 hours, averaging 3 Mbps. However, similar to scanning variance, we have seen backups that were far slower.


Last Update: June 27, 2018