There are already some ways to achieve this using third-party services or using free SMS gateway by setting up email forwarding. But they do have restrictions and limitations. E.g.: Country based limitations. Sometimes they don’t work at all. Of course privacy is another important concern. I am sure many of us are in need of this SMS alert feature, number of queries raised in various Google forums are a proof for this. So, let’s create our own email notifier service with Google Docs.
Below trick is pretty simple it just takes at the max of 5 minutes to setup. It only uses services provided by Google, no third-party services are involved. Importantly it works in almost all countries, free of cost.
2. Google Docs periodically monitors the label thread for new incoming emails and creates a Google Calendar SMS reminder on receiving it.
3. Google Calendar sends you a SMS alert containing the subject of your message.
So lets see how to set it up. Might look lengthy but it’s very easy.
1. Log in to Google Calendar
2. Click on the Gears icon on the top right and select settings.
3. Now click on the Mobile Setup tab.
4. Select Country, enter your Phone number and now click Send Verification Code. Now enter the code you got on your mobile and verify your number. If you don’t receive the code check if your carriers fall under supported mobile providers.
5. Now in Notifications select SMS as your default notification channel and save it.
Now you are done with the Google Calendar configuration part. All that is left is to copy the Google Docs provided below and set the polling frequencies.
1. Log in to Google Docs
2. Click here to make copy of the Google Spreadsheet.
3. In F3 to F6 cell you can enter the URL of the sites you want to monitor. Currently supports up to four sites. You can tweak the code to support many more.
4. In cell F8 enter your Email Address into which you want to get alerts. Entering phone number is not required as it will be picked up from Google Calendar.
5. Now select Tools-> Script editor.
6. Select Resources-> Current script’s triggers. Under Run select “isMySiteDown” then in Event select Time-Driven, Minutes timer and Every minute and save it. Now click the Authorize button and then Grant Access. Save the trigger again.
* If you want SMS alerts only for emails from some important person such as your boss. Set the filter condition using ‘from’ field.
1. Login to Google Docs.
2. Click here to make copy of the
spreadsheet. Click Yes, make a copy.
3. Now select Tools-> Script Editor.
Then Resources-> Current script’s triggers.
4. Select click here to add one. Under
events select Time-Driven then minutes timer and every minute and save
it.
5. Click Authorize and then grant access.
Now click close and save the trigger again. That’s it.
So, now on Google Docs will be polling your Gmail Account every minute for new incoming messages through the label you have created and will send a free SMS alerts as and when they arrive.
Feel free and leave comments... :)