Skip to main content
Instapage

How to Get SMS Alerts for Gmail via Twitter

How do you get SMS notifications on your mobile phone for important emails in your Gmail? Google doesn’t support text notifications for their email service but Twitter does. If we can figure out a way to connect our Twitter and Gmail accounts, the Gmail notifications can arrive as text on our mobile via Twitter. Let me explain:

Twitter allows you to follow any @user via a simple SMS. They provide short codes for all countries (see list) and if you text FOLLOW to this shortcode following by the  username, any tweets from that user will arrive in your phone as text notifications. For instance, if you are in the US, you can tweet FOLLOW labnol to 40404 to get my tweets as text messages. Similarly, users in India can text FOLLOW labnol to 9248948837 to get the tweets via SMS.

The short code service of Twitter can act as a Gmail SMS notifier. You create a new Twitter account, set the privacy to private and this account will send a tweet when you get a new email in Gmail. Follow this account via SMS from you main Twitter account and the SMS notifications will start pouring in.

gmail messages in twitter timeline

Use Twitter as a Gmail Notifier with Google Scripts

Here’s a step by step guide on how you can use Twitter to get SMS notification for important email in your Gmail account. It will take a minute to setup and, internally, there’s a Google Apps Script that’s doing all the magic. It monitors your Gmail mailbox in the background and as soon as a new message arrives in your account, the script sends out a tweet.

  1. Log out of your existing Twitter account and then go to twitter.com/signup to create a new Twitter account for your Gmail account.
  2. Confirm your email address, then open the Twitter settings page and check the option “Protect My Tweets.” This will make your Gmail notifications private and neither search engines nor other Twitter users will be able to see tweets generated through Gmail.
  3. Click here to copy the Google Sheet and choose Authorize under the Gmail to Twitter menu (near Help). Remember to authorize with your new Twitter account.
  4. Once authorized, choose Start from the Gmail to Twitter menu and enter your Gmail search query. For instance you can say is:important is:unread in:inbox newer_than:1d to only receive notification for new, unread and important emails in your Gmail. Click OK.

That’s it. The Gmail notifier is running and it will tweet when a matching email is found. It runs every 10-15 minutes and will only work on incoming email, not the old message. The messages will also be logged in the Google Sheet so you know what’s happening behind the scene.

Get SMS Alerts for Emails at Gmail

Open a new browser session in Incognito mode, log in to your old Twitter account and send a follow request to your new Gmail account on Twitter. Approve the new follower request and you should now see tweets for new Gmail messages, as they arrive, in your main Twitter timeline.

Should you wish to receive SMS alerts on your mobile phone for new Gmail messages, just open the Twitter profile page of your Gmail bot and turn on Mobile Notifications. This will obviously work only if you have connected (and verified) your mobile phone with your main Twitter account.

Also see: How to Write a Twitter Bot


The story, How to Get SMS Alerts for Gmail via Twitter, was originally published at Digital Inspiration by Amit Agarwal on 31/10/2015 under GMail, Sms, Twitter, Internet.

from Digital Inspiration Technology Blog

Comments

Popular posts from this blog

Another SEO tool drops the word “SEO”

This guest post is by Majestic’s Marketing Director, Dixon Jones, who explains the reasons for their recent name change.
Majestic, the link intelligence database that many SEOs have come to use on a daily basis, has dropped the “SEO” from it’s brand and from its domain name, to become majestic.com. Since most people won’t have used Google’s site migration tool before, here’s what it looks like once you press the “go” button:

In actual fact – there’s a minor bug in the tool. The address change is to the https version of majestic.com (which GWT makes us register as a separate site) but that message incorrectly omits that. Fortunately, elsewhere in GWT its clear the omission is on Google’s side, not a typo from the SEO. It is most likely that the migration tool was developed before the need for Google to have separate verification codes for http and https versions of the site.
The hidden costs of a name change
There were a few “nay sayers” on Twitter upset that Majestic might be deserting it…

6 types of negative SEO to watch out for

The threat of negative SEO is remote but daunting. How easy is it to for a competitor to ruin your rankings, and how do you protect your site? But before we start, let’s make sure we’re clear on what negative SEO is, and what it definitely isn’t.Negative SEO is a set of activities aimed at lowering a competitor’s rankings in search results. These activities are more often off-page (e.g., building unnatural links to the site or scraping and reposting its content); but in some cases, they may also involve hacking the site and modifying its content.Negative SEO isn’t the most likely explanation for a sudden ranking drop. Before you decide someone may be deliberately hurting your rankings, factor out the more common reasons for ranking drops. You’ll find a comprehensive list here.Negative off-page SEOThis kind of negative SEO targets the site without internally interfering with it. Here are the most common shapes negative off-page SEO can take.Link farmsOne or two spammy links likely won’…