Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail Apps
Do you dislike the "Apple Mail To Do" entry in your IMAP mail account in Mail? Disabling this 'feature' has been claimed many times in many places, but I finally found a way that actually works:
  1. Quit Mail
  2. open ~/Library » Preferences » com.apple.mail.plist using Property List Editor.
  3. Scroll down to the Mail Accounts entry and open it (click the arrow to the left of it).
  4. Click the arrow to the left of Item 1.
  5. Make sure the AccountType is LocalAccount (if it's not, one of the other Items is, but it should be Item 1).
  6. Copy the string value of the uniqueId field (the string of letters and numbers and dashes).
  7. Scroll down to the NewNoteToDoAccount entry, and paste the local account ID string in as its value.
Be sure you delete the folder/label on the IMAP server, too. Launch Mail.app, and you'll no longer see Apple Mail To Do in your IMAP account.

[robg adds: I haven't tested this one yet, but will definitely do so later today! The presence of that item is one of my personal pet peeves in 10.5.]
    •    
  • Currently 2.38 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (8 votes cast)
 
[37,951 views]  

10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail | 27 comments | Create New Account
Click here to return to the '10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: PBenz on Jan 22, '09 08:06:06AM

I tried this with the hope that it might stop the program from prompting me to change the IMAP prefix in order to create the to-do folder. Sadly, it did not. Why can't Apple just make this an option? It's absurd that I have to keep saying "no" to this. I don't want to use Apple's to-do list, and I don't want to change my IMAP prefix.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: vivekv80 on Jan 22, '09 08:26:56AM

This hint does not work. Another wasted attempt to remove the "Apple Mail To Do" folders from IMAP accounts.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: cwanja on Jan 22, '09 12:33:34PM

In you hint you say "Scroll down to the Mail Accounts entry and open it (click the arrow to the left of it)." If that is not the case (like mine is under 3), should we change it to 1?

---
 MacBook Pro 15" Aluminum Unibody 2.8
Chris Wanja
chris.wanja@mac.com



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: Mac Berry on Jan 22, '09 09:27:14AM

This hint does work. Not another wasted attempt to remove the "Apple Mail To Do" folders from IMAP accounts.

Thanks to the hinter; shame not everyone has understood the hint.

The only missing instruction is to save the plist, but I think that's pretty obvious really.

Mark



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: gshenaut on Jan 22, '09 09:34:11AM

Is this the To Do folders that show up in Mail under REMINDERS for each email account? I don't see what the problem is. I just don't expand the REMINDERS folder unless I want to for some reason, it's just one line. You could move it to the bottom if you don't want to see it. What am I missing here?

Maybe it's that you don't want to see the To Do folder when you are using a client other than Mail.app?

Greg Shenaut



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: sceaga on Jan 22, '09 10:09:10AM
This hint does not work. I have searched my entire com.apple.mail.plist file, and there is nothing called "NewNoteToDoAccount" anywhere.

[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: Mac Berry on Jan 22, '09 11:19:43AM
The hint does work. I've applied it, it went exactly as described, and now I don't have those folders. Maybe it doesn't work for you, but it DOES work. You'd be better off asking for help than posting a blanket "it doesn't work", which just sounds ungrateful to the original poster. It's not his fault if something about your system means it won't work for you.

[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: vivekv80 on Jan 23, '09 09:33:05AM

@MacBerry:
I have followed the steps exactly as per the hint. I immediately see the IMAP folder in my GMail a/c after I quit Mail and restart.

Let me know if you did something different. Also I have two Gmail accounts configured on my Apple Mail and the Apple Mail To Do folders reappeared in both of them.

Thanks



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: Mac Berry on Jan 25, '09 11:11:13AM

I'm not sure. I have two IMAP accounts, one Gmail and one not.

I followed the hint, and found that the folder had gone on the non-Gmail account (I had deleted that folder using the account's web interface before restarting Mail), but not from Gmail. I just deleted the folder from inside Mail, and it hasn't come back.

As I understand it, this hint doesn't remove that folder, it just stops it being created by Mail when it starts, so you do have to manually delete the folder once.

Beyond that, I really don't know I'm afraid.

Mark



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: crivera on Jan 22, '09 04:46:01PM

I didn't have this option either. While I do not know if this will cause other problems, I created the preference "NewNoteToDoAccount" inside the Root directory of the preference file, selected String, then pasted the "uniqueId" to it. Seems to be working fine, but just in case, I would suggest making a backup copy of your Mail prefs file just so you don't have the headache of having to set up Mail again.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: htapio on Jan 22, '09 10:29:24AM

Excellent, finally something that seems to remove the annoying Apple Mail To Do folder from my remote IMAP accounts. So far it has not reappeared. Let us hope it stays away now.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail - refinement for Gmail users
Authored by: mael on Jan 22, '09 01:48:11PM

As a side note to Gmail/Google Mail users:
You can turn off the additional tags the Apple Mail client creates. That way you won't see them, though they will still work as expected and need no configuration of the Apple Mail client.

In Gmail click on "Settings" > "Labels" and uncheck the option "Show in IMAP".
Done.
Easy, huh?



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail - refinement for Gmail users
Authored by: Macfulanodetal on Jan 22, '09 02:48:03PM

Huh? I don't have that option in Settings > Labels in my Gmail account. Can you give some more specifics?



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail - refinement for Gmail users
Authored by: abobrow on Jan 23, '09 10:18:37AM

You first have to enable the Google Labs feature. ( I don't remember how to do this but poke around) Once you do, you will have a "Labs" tab in your settings view. Then, under Labs, you will have several bonus options you can enable. One of them is "Advanced IMAP Controls." Once you enable that, when you go into "Labels" each label should have a checkbox that says "Show in IMAP." If you uncheck one, that label no longer shows up in your mail client, but it still exists in the Gmail web interface.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail - refinement for Gmail users
Authored by: diamondsw on Jan 23, '09 09:02:24AM

Many of those settings are not available in Google mail for personal domains. Also, I believe they're still "Labs" features, so you'll have to enable them specially.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: neuralstatic on Jan 22, '09 04:34:32PM

isn't working for me in 10.5.4.

also confused how he says to get the UNIQUE... id field contents and then scroll DOWN to NewNote... (doesn't exist in my plist). if it did exist, wouldn;t it be scrolling up?

i'm guessing apple re-finessed the naming of these keys. i have "NotesMailboxName" and "ToDosLastCalendarUID" fwiw.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: drebes on Jan 22, '09 06:07:42PM

I think I see what the problem is.

My localAccount is entry 7, not 1. So, instead of NewNoteToDoAccount having the correct local account id string, it contains only the string "LocalAccountId". I guess mail should have filled it with the correct string, but since it's not entry number 1 it couldn't find it and left a default value. I just changed it to the real ID string, and so far it hasn't created a new folder in my IMAP accounts. Let's wait and see.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: diamondsw on Jan 23, '09 09:21:30AM

Sadly, this did not work for me, which is a real shame as this is one of my biggest peeves in Mail.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: aperley on Jan 23, '09 11:05:20AM
Sadly, this doesn't work, and I will try to explain why exactly.

This hint provides a way to tell Mail which mailbox should be used by default for newly created To Do's. Same thing can be accomplished through Mail's settings dialog - by selecting Create Notes & To Do's in: On My Mac. And it does just that - tells Mail to create new To Do's locally. Either way you set it, it works - the new To Do's will be created in the local To Do mailbox. Unfortunately, it wouldn't prevent Mail from creating the server-side To Do IMAP folder. Mail won't put any items in it, but it will create it over and over again. With all respect to this hint's author, the hint doesn't help to prevent IMAP folder creation - it only helps to prevent using it as default mailbox for new To Do's.

After thorough examining of the .plist file, it seems that the problem lies elsewhere. Look into into your .plist under MailAccounts/[your IMAP account]: there are several keys named "[bhal-blah]MailboxName". In my case, the keys for the mailboxes I want to keep local look like this:

DraftsMailboxName: Drafts

NotesMailboxName: Notes

At the same time, the keys for the mailboxes I want to sync with corresponding IMAP folders look like this:

SentMessagesMailboxName: [Gmail]/Sent

TrashMailboxName: [Gmail]/Trash

Obviously, [Gmail] is my IMAP prefix. So, here it comes: no matter what you do, the ToDosMailboxName key will ALWAYS read [Gmail]/To Do. I've tried to manually change it to To Do (removing the [Gmail]/ part) million times (of course, deleting the IMAP "To Do" folder/label in Gmail web interface and the local ToDo.imapmbox under my IMAP account in Mail's Library at the same time), and Mail keeps reverting it back to [Gmail]/To Do every freaking time. WHY????

[ Reply to This | # ]

10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: mainmode1 on Jan 24, '09 01:34:36PM
1. Quit Mail.

2. In a Terminal window, paste the following command:

defaults write com.apple.mail NewNoteToDoAccount -string LocalAccountId


[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: palahala on Jan 24, '09 01:53:00PM

Errr, wow, if this works, then I think you should post the very same reply one level higher -- to ensure people see it! (the default threaded view hides it until one actually expands the thread).



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: Helge33 on Jan 26, '09 01:22:33AM

I can confitm your observation. No matter what you do, Mail always re-creates the ToDo Folder on the IMAP account. I tried also to force the keywords like

ToDosLastCalendarUID

under "MailAccounts" to the proper local UID with no effect.

I am not even sure that at least the default ToDo list would now be local... this is annoying!!



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: ASK on Jan 27, '09 08:14:36AM

While this did not work for me, as explained by others before me, I did make some progress on this intractable issue thanks to installing Plist Editor and poking around in the mail plist.

When I expand each of my IMAP accounts, I found a ToDosMailboxName value. I have found that by clearing the value (but not deleting the entry), no more To Do folder creation! At least so far. However, it does recreate a set of IMAP folder structures within the main To Do menu item in REMINDERS. Perhaps there is another value, rather than clearing ToDosMailboxName, that will prevent this. But if you collapse To Do, the only annoyance left is the grey expand arrow. I can at least live with that until Apple finally fixes this in Snow Ocelot ;).

Another tip is to change the order of stuff in the MailSections section - I was able to replace RemindersSection with MailboxesSection, which duplicated the sections. But it got rid of Reminders altogether.

PS: for those of you not finding NewNoteToDoAccount (not that it matters, since it's not a fix), understand that on computers, NS... comes before Ne. Capitalization trumps alphabetization.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: mainmode1 on Jan 29, '09 07:54:27PM
For the brave:

1. Quit Apple Mail.

2. Remove the "Apple Mail To Do" label in Gmail.

3. Save/execute the following shell script:

#!/bin/bash
#http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/PlistBuddy.8.html
#dest=/opt/local/bin
dest=/usr/bin
sudo cp -v /Library/Receipts/iTunesX.pkg/Contents/Resources/PlistBuddy $dest
cp -v ~/Library/Preferences/com.apple.mail.plist ~/Desktop/com.apple.mail.plist.backup
defaults write com.apple.mail NewNoteToDoAccount -string LocalAccountId
for ((i=0; i <= 30 ; i++))
do
  chk=`PlistBuddy -c "print :MailAccounts:$i:ToDosMailboxName" ~/Library/Preferences/com.apple.mail.plist | grep -i "does not exist"`
  if [ "$chk" == "" ]
  then
    PlistBuddy -c "set :MailAccounts:$i:ToDosMailboxName ''" ~/Library/Preferences/com.apple.mail.plist
  fi
done
defaults read com.apple.mail MailAccounts

The script will print the MailAccounts dicts so that you can confirm the change to ToDosMailboxName values.

A backup of the Mail preferences plist file is saved to the desktop.

Collapse/ignore the folder under Reminders in Mail. Better yet, don't use To Do notes at all and Reminders will disappear entirely.

[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: aperley on Feb 01, '09 12:26:35PM
It looks like the hint poster and some commenters are taking about different things here. My understanding is that the problem here is preventing Mail from creating IMAP folder/label for To Do's, while keeping using To Do's locally. If you don't use To Do's at all and delete the IMAP folder (both in web interface and in Mail's plist), it won't re-appear. The thing is, I do want to use To Do's, but don't want to keep the 'To Do' IMAP folder (which creates clutter in my Gmail label structure and shows up on my iPhone). Messing with Mail's plist, as described in the post and in several comments, only helps if you don't use To Do's at all.

Oh, and just to add - disabling the 'To Do' IMAP folder in Gmail using the corresponding Labs feature does not help - the label is still visible in web interface, as well as in Mail, where it just changes the 'To Do' icon to a generic globe.

By the way, I won't be surprised if this is considered a feature rather than a bug, and therefore will never get fixed.

[ Reply to This | # ]

10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: spiritwalker on Apr 10, '09 11:00:35PM

I too hated how Mail insisted on creating these IMAP folders, and tried the suggestion in this thread, as well as a few others to prevent Mail from creating its "Apple Mail To Do" on the IMAP server. None worked well. My results ranged from failure (Mail still created the folder), to the weird (Mail wouldn't create the folder, but instead display the entire IMAP tree from the server as a folder under To Do).

So I read up on this thing and tried to figure out what Apple's reasoning behind this was. Honestly it seems quite cool, but I do agree that its ill-executed and because of poor documentation, has caused some grief. This feature is like a poor man's iCal sync, but just for tasks. If you look in iCal, there is a new subsection in the calendar list named after your IMAP account in Mail. By default there is a single calendar named "calendar," which you can rename. Any tasks you create in iCal or Mail within that group will create a message inside the IMAP folder on the server. You can also organize tasks by creating multiple calendars. So if you go to another Mac and open Mail with the same configuration (easy enough if you just copy your com.apple.mail.plist file I believe), there are your tasks, which are now also populated in iCal. This only works for Tasks; iCal will not let you create events in Mail calendars.

Based on this hint, you can change the name from "Apple Mail To Do" to something less obnoxious. This other thread suggests this was originally a .mac-only feature used to enable syncing of tasks and notes OTA with an iPhone. The content of the dummy messages that Mail creates to store task information are very easy to parse, which means its probably not a huge step for someone to figure out how to get these to sync with GMail tasks, for example (assuming Gmail Tasks can be manipulated like Google Calendar can).

My main complaint, though, still remains the same: Mail should let you selectively choose which accounts have this folder (I use multiple IMAP accounts), give you the option to completely disable this feature if don't want to use it, and easily change the name of the folder without jumping through hoops. You shouldn't have to use a plist editor. If I enjoyed changing configurations that way, I would have stayed with windows and regedit. Apple also needs better documentation for stuff like this. I get the whole 'don't peak under the hood' attitude but sometimes that just doesnt cut it, particularly when an Apple product makes changes to a 3rd party product not under Apple's control.



[ Reply to This | # ]
10.5: Keep 'Apple Mail To Do' off IMAP accounts in Mail
Authored by: splacknuck on Jun 10, '11 05:24:41AM

I had to slightly alter the procedure:

1. Quit Mail
2. open ~/Library Preferences com.apple.mail.plist using Property List Editor.
3. Scroll down to the Mail Accounts entry and open it (click the arrow to the left of it).
4. Click the arrow to the left of Item # (if you have more than one e-mail account you will have more than one item here).
5. The AccountName will tell you which account you are editing.
6. Scroll down to the NewNoteToDoAccount entry, and delete its value.
7. Save com.apple.mail.plist.
8. Delete the Apple Mail To Do folder on the IMAP server (Horde web interface or whatever).
9. Launch Mail again and the pesky folder should have gone.



[ Reply to This | # ]