Add a Second Inbox to Your Gmail
Last week I finally gave up and ditched Apple Mail in favor of using Gmail all the time for both work and personal email. I had been managing my work email via IMAP, but with such a large inbox I was beginning to notice performance issues. It was time to switch. I set my Sitening mailbox to forward all incoming mail to my Gmail account and got back to work.
My goal was to add two new buttons to the top of my Gmail inbox. One to view my Sitening inbox and another to view my outbox. I won’t go into all the gory details of how I accomplished this (you can view the source if you’d like), but I will give a high level overview:
- Create two buttons and insert them into the HTML where appropriate
- Attach a click event to each one that
- Fills in the Gmail search box
- “Clicks” the search button
I’ve added an extra two buttons that let me easily switch from one inbox to another. Also, I cleaned up the HTML a little bit so that instead of showing ugly search results.