Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Apple Mail vs. Gmail IMAP disagreeing counts

Apple Mail vs. Gmail IMAP disagreeing counts
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2003
Location: San Diego, CA
Status: Offline
Reply With Quote
Jan 5, 2011, 12:42 AM
 
A friend has two iMacs (10.6.5), iPad & iPhone (iOS 4.2) recently switched to gmail for his primary email service.

The problem is that not all the devices “see” the same Sent, Drafts and Trash mailbox.

Working with other IMAP services, I never see issues like this, so I know this is a gmail specific issue - there’s a disconnect between the way Gmail organizes it’s IMAP mailboxes vs. the way the Apple Mail does.

For instance, when you configure Apple Mail for a gmail IMAP account, it assumes your Sent mailbox will be called “Sent Messages”. And on the gmail web side, a Label always gets created called “Sent Messages”. My experience is that without any intervention, when you send email, it shows up in Apple Mail in the proper “Sent” mailbox, but in gmail it shows up in “Sent Messages”, NOT gmail’s Sent mailbox.

For some reason, with a gmail account, the old trick of Mailboxes > Use this Mailbox for doesn’t work because the options are grayed out.

So, how I’ve improved this situation is to open up PropertyListEditor and edit com.apple.mail.plist. There is a key called ‘MailAccounts’ under which is an “item” representing the Gmail account. Underneath, there’s an entry for ‘SentMessagesMailboxName’. I’ve tried changing this to both “Sent Mail” or “[Gmail]/Sent Mail” and both work in the sense that any email sent from Apple Mail ends up in gmail’s Sent mailbox, and NOT in “Sent Messages”

Here’s where the mystery deepens.

In my friend’s situation, when I do this, when path is set to [Gmail]/Sent Mail, I see two Sent mailboxes
        in Apple Mail, I see 886 messages in the Sent under ‘Mailboxes’, and 823 in ‘Sent Mail’ under GMAIL section
        in gmail, the ‘Sent Mail’ mailbox has 651 items and there exists a “[Imap]/Sent Mail” mailbox which has 609 items
When I edit the plist and change the path with PropertyListEditor to just “Sent Mail”, Apple Mail only shows one Sent mailbox with 823 messages items, but is missing the message sent within the past couple days.

Any ideas how to make sense of this?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:34 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2