Can't archive mail with Google Apps mail as Exchange

I've been battling this for ages but even Google has no idea.

I use Google apps for email. I want to use the iOS Mail app. Google apps instructions have you set it up as Exchange account (if you set it as Gmail, you don't get push mail, only Fetch). I have three Google Apps email accounts, all on different domains, and this happens on all three of them.

The problem is when trying to archive a message, I get the error "Unable to move message: The message could not be moved to the mailbox Archive". The email message will usually disappear for a moment once I hit Archive, then that dialog will come up, and then the message will return to the inbox. Sometimes it's instant; sometimes it takes several seconds. But it always happens.

User uploaded file

Archiving works fine if I set up the account as Gmail instead of Exchange, but again then I don't get Push mail, only Fetch.

I have my Mail preferences set to archive, not delete, messages by default.

I've tried setting the sync settings at http://m.google.com/sync/settings for "Enable "Delete Email As Trash" for this device" both on and off.

I've had lengthy conversations with Google about this. They can reproduce it but have zero idea how to fix it. But I can't find any other reference to this issue online so it must be unique to me. I can't be the only one using Google Apps and Apple Mail on iOS!

Anyone else come across this?

iPhone 5, iOS 8.1

Posted on May 24, 2015 9:41 AM

Reply
17 replies

Aug 21, 2015 10:01 AM in response to jlinaschke

I have the exact same problem. I don't think you're the only one. But I think few people are using Google Apps for Business and have set up push notifications and set up Exchange accounts on the iOS devices. I've done (probably) the same Google searches as you have and have concluded that this is a defect in Apple's Exchange account support. Also, though the "Archive" folder doesn't exist in Gmail (it's called All Mail), Google won't let you create a folder named "Archive"; it says it's a reserved name.


This Gmail support thread suggests the native Gmail app for iOS as an alternative, as it supports push notifications. Of course, this is not entirely satisfying, since in iOS mailto: links won't open the Gmail app, but at least I don't have to choose between deleting and archiving all my mail. (I admit that sometimes deleting all my mail sounds appealing.)


Do please update this thread if you've learnt anything more. Thanks!

Oct 15, 2015 3:11 PM in response to jlinaschke

I think the problem is there is no option for Exchange mail boxes under Settings -> Mail -> Account Name -> Account -> Advanced that says "MAILBOX BEHAVIORS". There should be something like this for Exchange but isnt. It should allow you to choose to send Draft, Deleted and Archived messages to certain folders. My other account that isnt a Google Corp Account is standard gmail and I use GMAIL instead of Exchange for that one and it gives those options and never any issue Archiving.


My 2 cents anyways. I hope they fix this since I need PUSH instead of FETCH for at least my work email.


Anthony

Oct 25, 2015 9:13 PM in response to xshadow88x

Had to same issue. Here's a work-around:


1- Turn off mail in the Exchange account. Leave contacts, calendar, and reminders on.

2 - Create a new mail account in settings using the "Gmail" option (not Exchange) using the same login credentials as your Exchange account.

3 - Now in the new Gmail configuration, disable all EXCEPT mail. Then go to Account-->Advanced and select "Deleted mailbox" under under "Move discarded messages into:"


Note: If you don't use reminders under your Exchange account, you could simply use the "Gmail" account option and forgo having 2 configurations for one account. Since I do not use Google notes but wanted the reminders, so I have to use Exchange option. E-mail does not behave normally, however. So creating a separate configuration for just the mail under a Gmail configuration makes it behave like my other e-mail accounts.

Oct 25, 2015 9:15 PM in response to jlinaschke

Had to same issue. Here's a work-around:


1- Turn off mail in the Exchange account. Leave contacts, calendar, and reminders on.

2 - Create a new mail account in settings using the "Gmail" option (not Exchange) using the same login credentials as your Exchange account.

3 - Now in the new Gmail configuration, disable all EXCEPT mail. Then go to Account-->Advanced and select "Deleted mailbox" under under "Move discarded messages into:"


Note: If you don't use reminders under your Exchange account, you could simply use the "Gmail" account option and forgo having 2 configurations for one account. Since I do not use Google notes but wanted the reminders, so I have to use Exchange option. E-mail does not behave normally, however. So creating a separate configuration for just the mail under a Gmail configuration makes it behave like my other e-mail accounts.

Nov 5, 2015 9:52 AM in response to jlinaschke

I used a variation of @qdean's approach to accomplish exactly this.


I have been searching for a solution for this problem for months. I’ve wanted to use the iOS Mail app with Google Apps push notifications, but of course it’s broken and the workaround forces you to choose between mapping “delete” to either Trash or Archive unconditionally. Unacceptable.


Also, Google Apps Exchange support is also broken for the Calendar app; when it is enabled, I can’t see any of the shared calendars that my Google Apps account can access. The iOS Gmail driver can see all calendars, and can both delete and archive as designed. But it doesn’t support push, only periodic fetch.


My solution is to define TWO accounts in Mail, Contacts and Calendars, both to the same Google Apps login. One account uses the Exchange driver (which I named Gmail Push), the other uses the standard Gmail driver (which I named Gmail). In the Gmail Push account, I enable Mail and Contacts, and also enable notifications. In the Gmail account, I enable Mail, Calendars and Notes. I set Fetch frequency to every 30 minutes. Finally, I go into the Mail app, edit Mailboxes and uncheck the Gmail Push mailbox. This way, I don’t see every message twice.


Now, I get a push notification as soon as a message is delivered to Gmail Push. I can delete the message from the notification, but I can’t archive it (you can take your pick… I picked delete). When I want to read/handle the message, I open the Mail app and process the message from the Gmail account (not the Gmail Push account). When I open the Mail app, it automatically refreshes, so the message appears quickly.


A bit ugly, but it works for me. :-)

Feb 18, 2016 2:25 AM in response to jlinaschke

I've contacted Google Support - and this is what they replied:


Hello Oren,

Thanks for contacting Google Apps for Work. My name is Derek and I'll assist you in this query.

I understand you have issues on iOS devices using Google Sync (ActiveSync) as a message is showing 'Unable to Move Message. The message could not be moved to the

mailbox Archive'

The issue seems to be cosmetic, if you select 'Archive Mailbox' from Advanced settings it will look for an Archived folder which does not exist the Google Apps account. In the end, the message will be moved to 'All Mail' which is the Archive folder for the Google Apps account, but it will display the error that it was unable to move it to the Archive.

I hope you find this information helpful. I will be leaving this case open for three business days. If there is any other question or concern, do not hesitate to contact us. I will be more than glad to assist you.

Sincerely,

Derek

Google for Work Support

-------------------------

Case: #08661495

Subject: Setup of Google Account with iOS - Unable to Archive

---

So basically - they are saying that if you setup Google as Exchange - it WILL archive the email, but will display an error alert on iOS.

This is VERY frustrating...

I've asked them if there's a way to maybe open a folder "Archive" that will solve this error alert issue.

Waiting for their reply.

Mar 12, 2016 9:58 AM in response to jlinaschke

Ok...

So after the only thing that came out with the correspondence with Google, was to open a "feature request" - I found a solution from an unexpected direction - Microsoft 🙂


I tried many MANY email clients. Even the new beta version of the promising "Polymail" app.

However, turns out Polymail doesn't support Exchange yet. So that's not a solution for me (Because I have multiple accounts - Google and Microsoft Exchange).

If you are only using Google email - then I must say that Polymail is VERY nice for both iOS and Desktop (but they are still in beta and a bit unstable.

http://polymail.io


SO, bottom line - my solution was to use Microsoft Outlook App.

Yes. I said it out loud - MICROSOFT OUTLOOK APP.

https://appsto.re/il/8OwV4.i

It's the only one I found that supports:

- Swiping gestures to archive AND delete that work! (configurable).

- Multiple accounts - Google, Exchange and many More.

- Push notifications with a preview


Hope this helps!

Enjoy! 🙂


Oren

May 5, 2016 1:22 PM in response to orenagiv

It turns out archive will work just fine using an exchange setup for gmail on an iphone, but you need to tweak some setting in gmail and then, counterintuitively, set your iphone to "delete" messages. Here are the steps:


1. login into gmail and go to the mail settings.

2. under the "Forwarding and POP/IMAP" tab, in the "IMAP Access" section, make sure your settings are as follows:

• "When I mark a message in IMAP as deleted" should be set to: "Auto-Expunge off - Wait for the client to update the server."

• "When a message is marked as deleted and expunged from the last visible IMAP folder" should be set to: "Archive the message (default)"

3. save the changes

4. on your iPhone, open the settings and go to "Mail, Contacts, Calendars"

5. select you Exchange gmail account, tap "Account" to enter the account setting and then tap "Advanced Settings."

6. under "Advanced Settings" make sure "Move discarded messages into" is set to "Deleted Mailbox."

7. close out of the mail settings and then open mail on your phone.

8. Send yourself a test email and try swiping to delete it once it hits your inbox. The phone will show the message as being deleted (red icon when you swipe left), but if you go to your "All Mail" folder your message will be happily sitting there, archived...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't archive mail with Google Apps mail as Exchange

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.