# How to Migrate your Google Mail Account
An inofficial guide.
> :warning: **New** mails are now forwarded to your account automatically. To migrate **old mails** you can still use this guide. However, make sure you also complete the [last step](#How-do-I-stop-this-import-after-it-has-been-completed) once the migration has been finished to not receive mails twice.
>
> If you also want officially forwarded mails labeled (and not in your inbox), follow [this guide](https://hackmd.io/pc3CD-x8RCiFmgly9Wn95Q?view) to learn how to set it up.
# On the OLD (nextbike) Account
## (1) Enabling IMap (OLD ACCOUNT)
- visit: https://mail.google.com/mail/#settings/fwdandpop
- Under **POP download**
- Select **Enable POP for all mail**
- 
## (2) Allowing to connect (*)
- visit: https://myaccount.google.com/security
- Select: Access for less secure apps

- Click on the slider to sllow less secure apps

**(\*) :warning: I can't find the marked "Less secure apps" thing here!!!!**
[Click here](https://hackmd.io/rHCuRxh1TgiV06JvE3K3FA?view) and to learn how to create an App Password instead. Save this password for later.
# On the NEW (TIER) Account
## (3) Adding the forwarding
- visit: https://mail.google.com/mail/#settings/accounts
- Click on "Add another email address"

- enter your nextbike email address

- Enter the server credentials
- 
- **Username:** nextbike email address
- **Password:** the password of your nextbike account at google **or the App Password you created before**
- **POP Server:** pop.gmail.com
- **Port:** 995
- Check the 3 checkboxes as displayed

- Click on "No" and "Finish"
# Where are my emails now?
It takes a few minutes for google to start the process. As soon as they started there will be a tags section on the email overview screen of Gmail here:
- https://mail.google.com/
Depending on how many emails you have in our nextbike inbox, the process can take a few minutes to hours.
**It will also migrate all new email coming in.**

# How do I stop this import after it has been completed?
If you receive all new mails twice because of the new (official) automatic forwarding.
*Make sure that the import is finished. The status will be display as "Last checked: X ago" as shown in the screenshot.*
You can easily disable the import again by going here
- https://mail.google.com/mail/#settings/accounts
- click on "delete"
- Confirm

**This will keep the mail on your TIER account but stops new mails from beeing imported.**