Sunday, April 20, 2014

Make Apple Mail on Mac OS and iOS play nice with gmail category filtering



Columbia Email System Moves to gmail


A couple of months ago, the Columbia University email system was moved over to Google Apps for faculty and it significantly affected my email workflow. The move meant I now have three gmail accounts,  the other two being my personal email account, and one associated with the company I founded, Infinio. My Columbia email account has been my primary email ID for over 12 years now though, and I receive the bulk of my email on it. And I really mean bulk. 

Inbox Tabs: A fantastic feature


I had heard about this gmail feature called inbox tabs, but never used it since my other gmail accounts did not receive all the social media/promotion/forum emails etc. Once the Columbia email moved to gmail, I decided to turn it on. I woke up the next day and discovered that I was neither that popular nor particularly important - and it was great! My primary inbox tab had only one email in it, whereas normally my ritual after opening my email client the first thing in the morning was to sort through about 50 messages which fall into the aforementioned inbox tabs. Note that these are not spam emails, but emails I am mildly interested in and occasionally useful. Google seemed to be doing a very good job of filing the messages appropriately and only occasionally I needed to refile a message back to by primary tab.

Switching Clients and missing Mail.app


I liked the inbox tabs feature so much that I immediately switched over to using the gmail web client on both my Mac as well as my iOS devices. I searched around for other email clients that used the inbox tabs feature offered by gmail but found nothing aside from MailPlane which is essentially a wrapper around the gmail web client, though very nicely done. While getting a clutter free inbox was great, there are features in the Apple Mail client that I started to miss.

I have been an Apple Mail user for over a decade now, and while it has many faults there are many things to like about it, especially compared to web based gmail clients. This applies to both the Mac OS client as well as the iOS one. Some of the features that I like in Mail that are missing from the gmail clients are:
  • Unified Inbox. Switching between my 3 accounts to download and check email is annoying. I know that it helps some people to context switch and enforce discipline but it's just not for me.
  • Smart data parsing. I like the feature where the Apple Mail clients automatically parse contact details, dates, phone numbers and addresses and make them useful to add calendar entries, make phone calls, open up the maps app etc.
  • PDF signing. This is very important for me. The Mac OS Preview App has a very nice feature for easy PDF signing.  I get several PDF documents that require my signature, wearing both my Professor hat as well as the Infinio Board member hat. What makes the Preview feature even more useful is that you can invoke the app from within an email, sign the document and when you are done signing Preview is intelligent enough to ask you if I want it to be emailed back to the sender. This feature is enormously useful to me.
  • Much better HTML rendering on iOS. The Apple Mail client renders HTML emails much better than the gmail client. I almost never have to go into an email and manually zoom with the Apple Mail client, whereas I frequently need to do it using the gmail client.
  • Other email IDs. I have an iCloud email ID that occasionally gets something useful. Having another email client just for that seemed wasteful.
  • Inline display of attachments. The Apple apps display/play/preview all sorts of attachments very nicely, including PDFs, Office documents and voicemail sound files. With the gmail client the process is cumbersome.
I kept searching for solutions that would let me use the category tabs with Mail.app but found nothing. Until yesterday where I chanced upon this post by the helpful people over at AirMail.

Labels, Filters and getting the goodness of gmail categories with Mail.app


The process you need to follow is pretty straightforward. It has been described in detail, including screenshots in the AirMail blog post I mention above, but the steps are below:

  • Go into every gmail account that you use and setup labels. You can find the labels tab when you click the "settings" option in the gears icon you see on the top right right corner of the gmail web client.
  • Setup a label for every gmail category tab that you want to use, i.e., social, forums, updates, promotions. You can setup the labels directly or create a top-level label called "MyLabels" or something and nest them under that.
  • From the same settings page, click on filters and setup filters for every category tab that you want to use.
  • Click on "create new filter" and in the "Has the words" field add the text "category:promotions" etc. like the screenshot below (note the first time you create a filter you won't see the "category:promotions" on top of the screen like below, don't worry about it).

  • Click continue, and on the next screen check the option "Skip the inbox (Archive it)", "Apply the label" - select MyLabels/Promotions and check "Also apply filter to matching conversations" if you want the filter to apply for your previously received emails.

  • Do it for every category in every gmail account that you want to filter.
  • Your email accounts on Mail.app on MacOS and iOS will now show folders under the individual gmail accounts that are MyLabels/Promotions etc.
  • Optionally, on Mail.app on the Mac, create smart folders that collects all your "promotions", "social" etc. folders into one unified folder.
  • You now have a clutter free Mail client on your Mac and iOS with all the benefits of category filtering from gmail. 

    So far the system is working great for me and I am back to using Mail on the Mac as well as my iOS devices and have a relatively quiet, clutter free and unified inbox.

    Update: A comment by Cathy Kapanadze below adds an important improvement to the setup, that of the occasional mislabeling of emails by gmail and retraining the system. I am reproducing the comment here:


    Hi Daniel,

    I found a solution to this. What I did was create smart mailboxes in my mail app for filtering. Then if I notice something in Promotions, for example, that I want to have in inbox, I drag and drop it to my "inbox" mailbox. Then I go on gmail.com and click on "promotions" tab, which ONLY has the mail i wanted to move to inbox. I then move it to the primary tab and say I want to do the same for other emails from this sender.
    Hope it works for you.

    -Cathy. 

    86 comments:

    1. Hi Vishal, I als like both Apple's Mail and Google's categories.
      So I tried your solution and it works.
      But there's one big drawback for me and that is that the browser version of Gmail is pretty much useless: the categories tabs are emptied by the 'skip the inbox' action.
      Do you have a solution for that?
      Many thanks in advance for your reply.

      ReplyDelete
    2. Hi Onno,

      The tabs are empty but the collected emails are available in the corresponding folders on the left. I am afraid that's the best solution I have but then I rarely use the browser version to look for a better one.

      -Vishal

      ReplyDelete
      Replies
      1. Live adult cams | सेक्स के दौरान आवाज क्यों करती हैं महिलाएं
        Live adult cams | उईईईईइ माँ बाहर निकालो में मर जाऊंगी,कंडोम गर्भ
        free adult video chat | एच आर मैडम की चुदाई ऑफिस के वाशरूम में चुत से खून निकला
        free sex webcams | दीपिका पादुकोण चुत से खून निकला
        free sex webcams | चुत से खून निकला
        Free Chat with Couples | ऐस्वर्या की चुदाई की फोटो
        Girl Alone live sex chat | साली की चुदाई दोपहर मैं २ बजे
        live crazy adult webcam model |
        live crazy adult webcam model | उईईईईइ माँ बाहर निकालो में मर जाऊंगी,कंडोम गर्भ
        live crazy adult webcam model | ईइ माँ बाहर निकालो में मर जाऊंगी,कंडोम गर्भ
        Sexy transgenderfree chat with men|गांड मे लंड डालने की कहानी
        free chat with men | उईईईईइ माँ बाहर निकालो में मर जाऊंगी,कंडोम गर्भ
        live gay cams |
        दोस्त की नई नवेली बीवी की चुत चुदाई
        बनारसी भाभी की चुत में मूली देख भाभी की चुदाई
        भाभी की प्यासी भोंसी की चुदाई करनी पड़ी
        स्टेशन के वेटिंग रूम में मस्त भाभी की चुदासी चुत की चुदाई
        पड़ोसन को गर्भवती किया
        पड़ोसन भाभी की चुदाई करके चोदना सीखा
        इंडियन बीवी
        कुछ जानने योग्य बातें
        जिगोलो रिश्तों में चुदाई लड़कियों की गांड
        ऑफिस सेक्स
        कोई मिल गया गाण्डू,

        Delete
    3. You can work around that problem by creating a primary label and not telling the filters to move from inbox. Then you just ignore the inbox on the phone and use the primary label instead. A filter of category:primary will populate a primary label.

      ReplyDelete
      Replies
      1. The problem with that is that if you have multiple accounts you cannot aggregate them all into one primary-label unified inbox.

        -Vishal

        Delete
    4. Hi Vishal,
      I like this solution! Nothing beats a native app! I am running into an issue that I thought you may have encountered as well. I want to be able to teach Gmail how to categorize my messages according to my preference (although it is usually spot on). When using Gmail from the browser with regular category tabs enabled, it seems that it can be trained by dragging individual messages to a preferred category tab.

      I am trying to accomplish this while using your filtering system. I don't mind opening Chrome every once in a while in order to retrain Gmail to categorize a particular email differently. The question is, does Gmail learn when an email is dragged on the left hand Bar from one category to another? (I know that it would not learn by manipulating the user created tags - ex. MyLabels/Promotions. You can display the built-in Gmail categories in the left hand column by setting it to display those labels in Gmail settings.

      Cheers --Daniel

      ReplyDelete
      Replies
      1. Hi Daniel,

        Glad you like my solution, native apps are more often than not the best.

        I have encountered the issue that you point out as well. As you said, gmail is usually 99% accurate but still there are these emails that you want gmail to learn to file differently.

        We can perhaps post the question at a gmail product forum
        and maybe a gmail product manager can respond?

        One idea would be to periodically uncheck the box in the filters that moves the emails out of the inbox, train gmail and then check the box again? It is a little clunky but can work.

        -Vishal

        Delete
      2. Hi Vishal,

        Thanks, I did try disabling the filters today and using Gmail in Chrome to teach it a little more of my preferences.

        I wonder if the solution above would help:

        >>“You can work around that problem by creating a primary label and not telling the filters to move from inbox. Then you just ignore the inbox on the phone and use the primary label instead. A filter of category:primary will populate a primary label”

        This way you could just jump to the browser to do some re-filing every once in a while without having to disable filters, dig up misfiled email, send it to inbox, drag it to desired tab, re-enable all filters. It would have the added benefit of making Gmail in the browser more useful when on the road. I know Mail.app has the ability to notify of new messages according to smart inboxes, which could be configured to correspond to the suggested ‘Primary Label’

        -Daniel

        Delete
      3. Hi Daniel,

        That solution does indeed work for Mail.app. It will not work as well for iOS devices but if that is not a concern then I think having a primary category label is good.

        -Vishal

        Delete
      4. Hi Daniel,

        I found a solution to this. What I did was create smart mailboxes in my mail app for filtering. Then if I notice something in Promotions, for example, that I want to have in inbox, I drag and drop it to my "inbox" mailbox. Then I go on gmail.com and click on "promotions" tab, which ONLY has the mail i wanted to move to inbox. I then move it to the primary tab and say I want to do the same for other emails from this sender.
        Hope it works for you.

        -Cathy.

        Delete
      5. Hi Cathy. I did read your comment several times, but I still can't get it.
        What filters did you create in your mail.app?
        Why if you move mail from Promotions, it ends up in 'promotions' tab later in gmail?

        Delete
      6. Live adult cams | सेक्स के दौरान आवाज क्यों करती हैं महिलाएं
        Live adult cams | उईईईईइ माँ बाहर निकालो में मर जाऊंगी,कंडोम गर्भ
        free adult video chat | एच आर मैडम की चुदाई ऑफिस के वाशरूम में चुत से खून निकला
        free sex webcams | दीपिका पादुकोण चुत से खून निकला
        free sex webcams | चुत से खून निकला
        Free Chat with Couples | ऐस्वर्या की चुदाई की फोटो
        Girl Alone live sex chat | साली की चुदाई दोपहर मैं २ बजे
        live crazy adult webcam model |
        live crazy adult webcam model | उईईईईइ माँ बाहर निकालो में मर जाऊंगी,कंडोम गर्भ
        live crazy adult webcam model | ईइ माँ बाहर निकालो में मर जाऊंगी,कंडोम गर्भ
        Sexy transgenderfree chat with men|गांड मे लंड डालने की कहानी
        free chat with men | उईईईईइ माँ बाहर निकालो में मर जाऊंगी,कंडोम गर्भ
        live gay cams |
        दोस्त की नई नवेली बीवी की चुत चुदाई
        बनारसी भाभी की चुत में मूली देख भाभी की चुदाई
        भाभी की प्यासी भोंसी की चुदाई करनी पड़ी
        स्टेशन के वेटिंग रूम में मस्त भाभी की चुदासी चुत की चुदाई
        पड़ोसन को गर्भवती किया
        पड़ोसन भाभी की चुदाई करके चोदना सीखा
        इंडियन बीवी
        कुछ जानने योग्य बातें
        जिगोलो रिश्तों में चुदाई लड़कियों की गांड
        ऑफिस सेक्स
        कोई मिल गया गाण्डू,

        Delete
    5. This comment has been removed by a blog administrator.

      ReplyDelete
    6. This is a very neat solution! Thanks Prof!

      ReplyDelete
    7. This worked perfectly!! Thanks so much for taking the time to type this up.

      ReplyDelete
    8. do you have a way to put things back?

      ReplyDelete
    9. This comment has been removed by a blog administrator.

      ReplyDelete
    10. This comment has been removed by a blog administrator.

      ReplyDelete
    11. This comment has been removed by a blog administrator.

      ReplyDelete
    12. Hi Vishal - An alternative in Mac mail once you have set up these filters is to 1) leave them in the Gmail inbox and 2) create Smart Mailboxes in Mac Mail filtering in only the Primary Inbox tab from your new label filter. Example: Create a Smart Mailbox for the Primary label in Gmail that your "category:primary" filter. It's an extra step but plays nicely without changing the way Gmail works.

      ReplyDelete
    13. This comment has been removed by a blog administrator.

      ReplyDelete
    14. This comment has been removed by a blog administrator.

      ReplyDelete
    15. This comment has been removed by a blog administrator.

      ReplyDelete
    16. This comment has been removed by a blog administrator.

      ReplyDelete
    17. This comment has been removed by the author.

      ReplyDelete
    18. This comment has been removed by a blog administrator.

      ReplyDelete
    19. It is sad that no native app has out of the box support for Inbox Tabs :(

      ReplyDelete
    20. This comment has been removed by a blog administrator.

      ReplyDelete
    21. This comment has been removed by a blog administrator.

      ReplyDelete
    22. This comment has been removed by a blog administrator.

      ReplyDelete
    23. Hi Vishal,
      Thanks for details, I am also fan off Apple Mail app but was facing challenges with too many unwanted emails to my gmail address. So was not able to quickly see important emails. This article has helped to achieve a clutter free inbox on my iPhone for gmail emails. Rgds Anil

      ReplyDelete
    24. Vishal,

      Thank you! This is absolutely life changing. I'm a dedicated mac mail user and a member of a couple heavy gmail forums: I had given up on using my primary gmail account for anything other than deleting messages...until today.

      ReplyDelete
    25. if you need technical support call us our Apple Contact Number@0800-098-8312

      ReplyDelete
    26. Hey Good News for all get the best and best iphone cases in your budget price.....

      ReplyDelete
    27. Protect your iPhone in style with premium cool iPhone covers by caselogy.com in your budget !

      ReplyDelete
    28. There are available for all of the aspirants NEST Application Form 2017. Apply Online as soon as possible for the NEST Application Form.

      ReplyDelete
    29. So I have now lost all of my emails from Primary, Social, Promotions.
      I tried this method but I didn't like it because it simply didn't do as described. In the AppleMail it wasn't showing emails exactly as gmail web client, some emails missing and some junk included. I didn't try smart mailboxes because at this point I couldn't be bothered and decided to switch back to gmail client.
      I deleted the labels and the filters but now...ALL of my emails have vanished from my 3 tabs. Now I have to click on All Mail to see my emails.
      How do I fix this please?

      ReplyDelete
      Replies
      1. drag back all the emails from the label folders to the inbox, as long as the category is still enabled they populate the tabs again. I was running the same problem here and I don't like this solution because I want to continue using tabs both on my phone or via web based email.

        Delete
    30. wow really nice. It will be helpful for the people those who are ready to crack the interview and please also for remind what they have learned throughout concept.

      Best Dental Clinic In Velachery

      ReplyDelete
    31. Here providing Apple Support Number 1800 501 2708, Call 24*7 for all in one Apple Support

      ReplyDelete
    32. Buy cheap phone cases, phone covers online at low prices Slim Back Cover Case For Apple Iphone

      ReplyDelete
    33. Norton.com/setup 01444-390-866. Norton 360 is a security program that protects your computer from malicious programs such as viruses, Trojans, spyware and worms. Installation errors and problems when installing Norton 360 are caused by a number of different factors that vary depending on the computer. With some simple troubleshooting steps, you can resolve Norton 360 installation errors and gets your program running on your computer 01444-390-866. 01444-390-866 UK, Australia and USA is accessible 24×7 on all 365 days of the year. We understand that any day and any time can be the day of the emergency. www.norton-setup-com-install-download.com Norton Technical Support Number from Australia 01444-390-866.

      ReplyDelete
    34. Things have changed a bit since you posted this great guide. Now you have to check additionally "Categorize as:" and choose appropriate category. Everything at the last filter config screen. Without that, all emails will land in "Inbox" as well.

      Best Regards!

      ReplyDelete
    35. If any one looking for good iphone cases then visit stylebaby.

      ReplyDelete
    36. Such a nice information. If yo want technical support to eject all apple computer tech issues, call at Apple Computer Contact Number UK and you will get 100% assistance.

      ReplyDelete
    37. Norton.com/setup 1444390866. Norton 360 is a security program that protects your computer from malicious programs such as viruses, Trojans, spyware and worms. Installation errors and problems when installing Norton 360 are caused by a number of different factors that vary depending on the computer. With some simple troubleshooting steps, you can resolve Norton 360 installation errors and get your program running on your computer.Norton.com/setup 1444390866.

      ReplyDelete
    38. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing..
      iOS Training in Chennai
      Android Training in Chennai
      php Training in Chennai

      ReplyDelete
    39. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...

      Mobile App Development Company in Chennai
      Android app Development Company in Chennai
      ios app development Company in Chennai

      ReplyDelete
    40. Apple Support Number is third party tech support provider and dedicated to provide payroll for all your Apple gadget including all Apple iPhone versions, Apple MacBook, MacBook Air, iMac and all related issues that comes with all Apple gadgets.
      Call us and get immediate effect: Call us and get immediate effect http://www.apple-supportnumber.com/macbook-support.html

      ReplyDelete
    41. It's interesting that many of the bloggers your tips helped to clarify a few things for me as well as giving.. very specific nice content. And tell people specific ways to live their lives.Sometimes you just have to yell at people and give them a good shake to get your point across.
      Mobile App Development Company
      Android app Development Company
      ios app development Company
      Mobile App Development Companies

      ReplyDelete
    42. To get instant technical support, you can contact the technicians through this link Gmail technical helpline number UK

      ReplyDelete
    43. This comment has been removed by the author.

      ReplyDelete
    44. This comment has been removed by the author.

      ReplyDelete
    45. Thank you so much, Vishal! This is exactly what I needed.

      ReplyDelete
    46. Thanks for putting this online. I've wanted to move to Apple Mail for a long time.

      ReplyDelete
    47. After purchasing Office you need to visit www.office.com/setup to install and we ... one for you. Msoffice365setup.com is a UK Based MS Office tools support.... Call us this 24X7 toll free no 1800-214-7583 and our Microsoft Office...Call us this 24X7 toll free no 1800-214-7583 and our Microsoft Office...www.msoffice365setup.com is www.office.com/setup support for you to enhance ... Call us this 24X7 toll free no 1800-214-7583 and our Microsoft Office setup...Call us this 24X7 toll free no 1800-214-7583 and our Microsoft Office setup assistant will call you and ask the issue right now. www.msoffice365setup.com is MS...MS Office Helpline number AUS, UK Website: www.msoffice365setup.com MS Office Product Key Support Website: www.msoffice365setup.com Toll free Number 1800-214-7583….
      Office Setup Support I www.office.com/setup I office.com/setup...
      And Click Here: http://www.msoffice365setup.com

      ReplyDelete
    48. Hey Thank you sharing this post. Its Very interesting post.
      Get help technical support for Lexmark printer.
      Lexmak Printer Support Number UK
      Lexmak Printer Help Number UK

      ReplyDelete
    49. Nice information...you blog...
      We offer Apple Mac tech support services to all MacBook series such as MacBook Air, Mac Mini, iMac, Apple OX X support. You can get instant help at 1800 723 4210 and our qualified technicians will solve your every issues related to Apple products.


      Apple Mac Technical Support

      ReplyDelete
    50. This comment has been removed by the author.

      ReplyDelete
    51. Nice one, facing trouble? Call us at Gmail Support Ireland +353-12544725; Sometimes users get some sort of problem related to language settings, forgot password issue, font issue, password reset, spam emails, virus issue, problem while sending and receiving emails so call us at Gmail Online Technical Support Phone Number Ireland and get assist.

      ReplyDelete
    52. Buy best and cool all types of iPhone accessories online at reasonable prices from Kase.com now! And enjoy a variety in your cool iPhone accessories.

      ReplyDelete

    53. Hi, I am John working in IT company. Cause of busy I work in my home so, I need a high-configaration which is one of the
      best computers.best computers.
      So, I was feeling worried about the best computer. By friend suggest me to visit your website and got it. This is really good product.
      Specially RAM, graphic, and all configaration are good. I am happy. I am happy.

      ReplyDelete
    54. Finding the time and actual effort to create a superb article like this is great thing. I’ll learn many new stuff right here! Good luck for the next post buddy..
      IOS Training in Chennai

      ReplyDelete
    55. https://onlinecustomertechsupport.blogspot.in/2016/10/lexmark-printer-support-number.html?showComment=1496085317549#c434165851408185779

      ReplyDelete
    56. Hi
      Great post
      seem you are putting effort on this website.
      i think you should submit you site to this review sites
      website informer
      W3bin
      ipaddress
      Webdeger
      informe

      ReplyDelete
    57. Very nice blog !!..

      Avg anti-virus problems support service is provided by only on AVG anti-virus technical support phone number for all system on toll-free number 1-800-723-4210.

      ReplyDelete
    58. Awesome Blog !!..


      Hp technical support resolve all technical and non technical problem directly our expert technician without taking any charges that means you can find your free of cast support on 18007234210 toll-free number .

      ReplyDelete
    59. Awesome Blog ...

      Thanks for sharing with us Avg Technical Support Number offer you getting information about the installation of Avg antivirus of system . and other information are available on official website

      http://www.avgsupporthelp247.com/

      ReplyDelete
    60. This article is very much helpful and i hope this will be an useful information for the needed one. Keep on updating these kinds of

      informative things...

      Android App Development Company

      ReplyDelete
    61. Wonderful bloggers like yourself who would positively reply encouraged me to be more open and engaging in commenting.So know it's helpful.
      IOS Training in Chennai

      ReplyDelete
    62. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.
      IOS Training in Chennai

      ReplyDelete
    63. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing..
      iOS App Development Company
      iOS App Development Company

      ReplyDelete
    64. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing..
      Fitness SMS
      Fitness Text
      Salon SMS
      Salon Text
      Investor Relation SMS
      Investor Relation Text

      ReplyDelete
    65. great and nice blog thanks sharing..I just want to say that all the information you have given here is awesome...Thank you very much for this one.
      web design Company
      web development Company
      web design Company in chennai
      web development Company in chennai
      web design Company in India
      web development Company in India

      ReplyDelete
    66. it is really amazing...thanks for sharing....provide more useful information...
      Mobile app development company

      ReplyDelete
    67. Unable to settle toner issues of Lexmark Printer, so at this time you need the correct technical assistance in resolving the problem and for this, none is best than contacting the technicians at 0800-090-3240. LEXMARK Printer Help Number UK

      ReplyDelete
    68. I was reading your blog and i really enjoyed this post. we provide you best solution for your gmail. call us at +44-800-090-3220. You can visit also here website at Gmail Help Number UK

      ReplyDelete
    69. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
      Android Training in Chennai
      Ios Training in Chennai

      ReplyDelete
    70. Not able to get the exact resolution of not slow email going issue, then you should share this problem with the experts at 0800-090-3240 to get this resolve in a short while. Read more…

      ReplyDelete