Migrate from Gmail to TrekMail
This guide explains Gmail-specific instructions, including app passwords. so you can complete the TrekMail task with confidence.
Article details
Type, difficulty, plans, and last updated info.
▼
Article details
Type, difficulty, plans, and last updated info.
- Type
- Guide
- Difficulty
- Intermediate
- Plans
- Starter · Pro · Agency
- Last updated
- Dec 14, 2025
Migrating from Gmail (or Google Workspace) requires a specific security setup because Google blocks standard password logins for IMAP.
Step 1: Prepare Gmail
- Log in to your Google Account.
- Enable 2-Step Verification if it isn't already. (Google requires this for App Passwords).
- Go to Security -> 2-Step Verification -> App passwords.
- Note: If you don't see "App passwords", search for it in the search bar.
- Create a new app password:
- App: Mail
- Device: Other (name it "TrekMail Migration")
- Copy the 16-character code. You will use this instead of your real password.
Step 2: Enable IMAP in Gmail Settings
- Open Gmail -> Settings (Gear) -> See all settings.
- Click Forwarding and POP/IMAP.
- Under IMAP access, select Enable IMAP.
- Click Save Changes.
Step 3: Start Migration in TrekMail
- Go to Migration -> New Migration.
- Source Host:
imap.gmail.com - Source Port:
993(SSL) - Source Username: Your full Gmail address (
you@gmail.com). - Source Password: The 16-character App Password you generated in Step 1.
- Start the migration.
Common mistakes
- Symptom: "Authentication failed/invalid credentials".
- Cause: You used your normal Google password. You must use an App Password.
- Symptom: "IMAP disabled".
- Fix: Double check Step 2. Gmail disables IMAP by default.
See also
Related articles
Jump to nearby guides that continue the workflow.