You must be aware of this SMS notification of emails received trick/app at this link.
https://developers.google.com/apps-script/articles/gmail_filter_sms
As I follow the steps mentioned at above link and when I copy and paste the code thereon into script editor I get the following error:
TypeError: Cannot call method "getThreads" of null. (line 3, file "Code")
What to do now, Do you have any solution to this issue ?
Please help
Regards, Vaibhav, PS: Please tell me the steps to resolve the issue as I'm novice to this programming field.