Setting a Gmail filter to archive messages from yourself was the first thing I tried...unfortunately it does not solve the problem (it turns out that in Gmail, messages are essentially created in the inbox, so you cannot archive them before they get there).
Setting a filter to delete messages from yourself does work, but if you are like me and enjoy the fact that Gmail keeps your messages and allows you to search them at any time, this is not a good option. You will need to keep going into your Gmail trash and undeleting threads to keep from losing them after 30 days.
There is a simple and elegant solution to this problem, however. I can't claim credit for it...though I can't find the place on the internet where I found it published to give them credit. Anyway, this works perfectly:
1. Go to
http://mail.aol.com/ and sign up for a free AOL email account (which will be
youraolusername@aol.com)
2. Log on to your AOL email, go into Settings, and turn the spam filters off
3. Log on to your Gmail account, go into Settings > Forwarding and POP
4. Set your Gmail to "Forward a copy of incoming mail to:"
youraolusername@aol.com (also choose whether you want the original to stay in your gmail inbox or get archived)
5. Set up the email account on your iPhone as follows:
- Type of account: Other > IMAP
- Incoming email server: imap.aol.com
- Incoming email account:
youraolusername
- Incoming email password: your AOL email password
- Outgoing email server: smtp.gmail.com:587
- Outgoing email account:
yourgmailusername@gmail.com
- Outgoing email password: your Gmail password
Voila! You get:
1. IMAP access to your Gmail inbox (thru the AOL proxy...don't worry, the emails won't look any different than if you got them straight from gmail, since AOL IMAP email doesn't add any tags or ads)
2. Outgoing emails from your iPhone will be sent through Gmail (nobody has to know the AOL account even exists)
3. Messages sent from your gmail account (either from your iPhone or from your other computers) will no longer be downloaded onto your iPhone (that's a quirk that's particular to POP and will not occur with IMAP)
4. Sent emails will remain with their threads in Gmail and do not need to be recsued from the Trash