Everyday life makes you look for ways and solutions to make some things easier to use. This process is called automation. Today I was faced with the task of automating my own mailbox. Earlier, I had
to talk about setting up a standard mail client for Mac OS X in conjunction with the Gmail server. Time passed and the volume of letters forced us to look for a more convenient solution for mail cataloging. But first things first.
The setup process will start with the client. If this is your first Apple Mail tincture, then use
this instruction. If it is already configured as described in my
previous article , then reconfigure according to official Google
recommendations . Below is attached a few screenshots for clarity.



Today, many different services on the network use notification systems via email. This is usually the majority of blogs, social networks, web 2.0 resources and so on. My blog is no exception. You can easily enable notifications of new comments using a special form at the bottom of the page. The main problem is that there can be a lot of such notifications. When this happens, the sorting problem arises - the separation of the notification letters from other mail. And here the system of labels and filters comes to the rescue. Labels are labels or folders in which sorted letters will be stored, and filters are specific rules that analyze the content of the letter and determine which label it should be moved to. First of all, you need to decide which services are most littering the mailbox. In my case, these are
Amazon S3 reports, subscriptions from various blogs, notifications from
Facebook ,
Twitter, and job search sites that give me fresh offers. Have you decided? Now go to the settings of the main interface of Gmail and add them.
')

If the checkboxes next to Show in IMAP are in front of each label, then we are waiting for the reaction from Apple Mail.

Next, you need to push the letters on these labels. All in the same Gmail web interface, go to the Filters tab and create a new filter. In the form that appears, you can designate different sorting criteria. In my case, using the example of the Twitter service, it is necessary to enter the email address of the sender in the “From” form.

In the next step, we specify “Skip the Inbox” so that new letters would get into the label bypassing the inbox; “Also apply filter to… conversations below” to move old ones there. And specify the name of the label, where, in fact, will be moving.

Now filters should work and sort mail. But this is not all. A client with standard settings will not show you notifications about new letters in the Dock, if they immediately get into the labels. The solution was found in the client settings.

Now that's it. And as always, with comments and suggestions please in the comments.
Source: http://snupt.com