Clean up Google Mail Folder Structure on your iPhone

If you use GMail, or Google Apps for Your Domain on your iPhone, you’ve probably noticed an odd folder structure, with most of your folders being found under [Gmail]. This looks ugly, and it turns out, is easy to fix:

  • In your “Advanced” Mail account settings, set the IMAP Path Prefix to “[Gmail]/”
  • (The trailing / is added automatically)

Now your folders will look flatter and much prettier. This works in Mail.app on your desktop Mac too! And don’t worry — it’ll still be able to find the Inbox on its own.