Another person has used my iPhone and set up a gmail account importing all their contacts and emails. now all their 8000 emails are on my phone and I do not know how to get rid of them or their contacts.
Gmail – How to get rid of gmails and contacts that were imported from an iPhone
gmail
Related Solutions
To do this, you need to set up Gmail to send emails via an "external" mail server. However, since the alias domain is already registered with Google, you can in fact set this "external" server to their servers and have it work just fine!
- Google Workspace Admin -> Apps -> Google Workspace -> Gmail -> End user access -> Enable
Allow per-user outbound gateways
in Domain admin. - Gmail -> Settings -> Accounts -> Edit Info (on alias account) -> Next Step -> Send through example.com SMTP servers (recommended for professional domains)...
- SMTP Sever: smtp.gmail.com, Port 465
- Username: alex@example.co.uk (Note: not the alias domain login, but your main Gmail login)
- Password: (Password for the above account)
- Select Always use a secure connections (SSL) when sending mail.
If you don't have this other domain added as an alias and are just sending from an additional email address you'll have to send via the email servers of this other domain.
(Yes, I know I answered my own question, but it took me an age to figure this out, so I wanted to share it!)
The main problem with doing something like this is that Gmail creates a new message every time your note is updated.
Here's an example:
Create a new note, with the text "Test". This is what Gmail looks like:
1: [Notes] Test
Update this note to say "Test Updated". Gmail now looks like this:
1: [Notes] Test Updated
2: Test
Update it again to say "Test Updated 2". Gmail now looks like this:
1: [Notes] Test Updated 2
2: Test Updated
3: Test
This means that if you do get forwarding to work (which there is at least one way I can think of to make it work), it will be a nightmare to deal with all the duplicates. The only way to prevent duplicates, is to never update existing Notes. You must either delete them immediately after you create them, or get in the habit of treating them as read-only. If you choose the former, you may be better off using the Evernote app or Mail app instead, both of which involve less steps.
Update: If you're okay with duplicates, this is how you would set up forwarding to work...
You will need the following:
- A second Gmail account.
- A way to distinguish between Notes vs. other email.
1) Since Notes that are created on the account do not respect Gmail's filter rules, you need to use a workaround. The workaround is setting up another Gmail account which will read your original account's email via POP3. As the email is being read, any filters can be applied, including forwarding the notes to your Evernote account. The problem is that since you are reading all the mail on that account, you need to make sure only notes are forwarded, which leads to point number 2...
2) There are at least two ways to do this which are guaranteed to work consistently. The simplest method is to create another (3rd Gmail account) which is used ONLY for notes on the iPhone. Since that's the only email the account will get, there's no need to setup a filter to forward the messages. You can simply forward all mail that is read from that account to Evernote (see solution A). The second method of achieving this is to continue using your normal Gmail account, but add it as a plus address to the iPhone (for example user+notes@gmail.com). This way you can create a filter which uses the deliveredto:
attribute to distinguish between Notes and other email (see solution B).
Solution A: Use 3 Gmail accounts:
You should have 3 Gmail accounts:
user@gmail.com
: your normal email account which you are probably using.user.notes@gmail.com
: an email account used ONLY for iPhone notes. Do not give this address to anyone.user.forwarding@gmail.com
: an account which reads mail fromuser.notes@gmail.com
and forwards them to Evernote.
Steps:
- On the iPhone, do the following:
- Remove note sync from
user@gmail.com
. You will no longer be using that account for note sync, since you are creating a dedicated account. - Add your
user.notes@gmail.com
account, and choose to only sync notes. Do not sync mail with this account. Every time you create a note on the iPhone, make sure you choose this address. You could make it your default one.
- Remove note sync from
- In Gmail on the
user.notes@gmail.com
account, do the following:- Enable POP3 (if it isn't already), choosing one of the following options:
- delete Gmail's copy: this will cause your notes to be deleted as soon as they are saved, which will eliminate duplicates at the cost of not being able to edit notes. The second you press "done" in iPhone Notes, the message should get deleted.
- If you don't want the above behavior, choose "keep Gmail's copy in the Inbox".
- Delete the 3 email messages Google sends you in the beginning. You don't want those to go into Evernote.
- Enable POP3 (if it isn't already), choosing one of the following options:
- In Gmail on the
user.forwarding@gmail.com
account, do the following:- Set it up to read mail via POP3 from the
user.notes@gmail.com
account. Make sure to leave the "Leave a copy of retrieved..." setting disabled. - Add Evernote's email address as a forwarding address (make sure you verify it).
- Choose to forward all mail to Evernote's address. I'd recommend choosing the "delete Gmail's copy" option here.
- Set it up to read mail via POP3 from the
Solution B: Use a Plus address:
You should have 2 Gmail accounts:
user@gmail.com
: your normal email account which you are probably using. This will be used both for notes and normal email.user.forwarding@gmail.com
: an account which reads mail fromuser@gmail.com
and forwards them to Evernote.
I will also refer to the account user+notes@gmail.com
below. This is the same account as user@gmail.com
, but adds a plus so that you can differentiate between iPhone notes and email.
Steps:
- On the iPhone, do the following:
- Remove note sync from
user@gmail.com
. You will no longer be using that account for note sync, you must use the plus account. - Add your
user+notes@gmail.com
account, and choose to only sync notes. Do not sync mail with this account. Every time you create a note on the iPhone, make sure you choose this address. You could make it your default one.
- Remove note sync from
- In Gmail on the
user@gmail.com
account, do the following:- Enable POP3 (if it isn't already), choosing to "keep Gmail's copy in the Inbox".
- In Gmail on the
user.forwarding@gmail.com
account, do the following:- Set it up to read mail via POP3 from the
user@gmail.com
account. Make sure to leave the "Leave a copy of retrieved..." setting disabled. - Add Evernote's email address as a forwarding address (make sure you verify it).
- Create a filter which matches
deliveredto:user+notes@gmail.com
and forwards the message to Evernote. I'd recommend also choosing to delete the message. - Create a filter which matches the opposite
-deliveredto:user+notes@gmail.com
and just deletes the message.
- Set it up to read mail via POP3 from the
Let me know if you need any clarification.
One other thing to note is that since both of the above methods rely on reading the mail via POP3, it won't happen instantaneously, and can even take up to an hour. See this post for ways of speeding that up.
Related Topic
- Gmail – How to import mails by contacts from another Gmail account
- Gmail – Handle a Gmail account and a domain account from Gmail / iPhone
- Gmail – How to set up a user account in Gmail to receive email
- Gmail – How to get contacts back into the inbox
- Gmail – If you delete a label and ALL contacts in it, will that also delete those contacts from other labels
Best Answer
Remove the GMAIL account from your phone first.Then navigate to “Settings > Mail, Contacts, Calendars” and click on iCloud. 2. Now make sure you move the slider next to “Contacts” from ON to OFF. Upon prompt, tap on the “Delete from my iPhone” button. Move the Slider contacts back to ON and it will resync all of your contacts.