1. 6
  1. 2

    How much are you paying Twilio for their service? Did you consider any options for sending SMS?

    I do something similar with a filter that forwards certain emails to <my number>@txt.att.net, which sends a text to my phone. Other carriers might have a similar feature.

    1. 2

      Smart idea! I hadn’t thought of that.

      I’d previously done similar where I use Gmail’s SMTP access to send a message to <my number>@txt.att.net, but have some other ideas for Twilio projects that made me want to dip my toes in here.

      With my usage patterns this costs no more than a couple dollars a month ($1/month for a phone number and SMS are $0.0075 per message).

      1. 2

        If you’re doing something more involved, it’s better to switch away from Twilio before you get too invested, as they’re probably the most expensive SMS provider out there. For example, I’d recommend looking at Plivo and Vonage instead (particularly for incoming messages):

        https://www.plivo.com/sms/pricing/us/ https://www.vonage.com/communications-apis/sms/pricing/

        And if you want to make your program more general, you can use XMPP as the transport and then plug it in to something like https://wiki.soprani.ca/VonageSetup or just use the Conversations or Siskin app on your phone to get the push message instead of your SMS client.

    2. 2

      Cool idea.

      One other solution that may require less work, depending on your email hosting and mobile client application (assuming you’re willing to install one) – use rules.

      Let’s say you host your own mail and you allow literally-anything@mydomain.com land in your inbox. This is called a “catchall” or “wildcard” alias in the parlance of a provider like Fastmail. Now let’s say your email client allows the creation of rules and push notifications associated with rules.

      Create rule in email client:

      1. Trigger is to: limited-availability-foo-corp-product@yourdomain.com
      2. Action: Push Notification


      1. 1

        Most smtp servers (and email providers) also allow appending “+anything” to email addresses, so might not really need a catch-all account - normal accounts should work too. So just set up a rule on “my.email+foo-corp-product@gmail.com” and it will still end up in your inbox. The only problem you can encounter is some email validation rules on some websites are incomplete/broken/RFC-not-compliant and doesn’t allow “+” characters, but I think those are a minority (I’m using such addresses with the “+” suffix to know the source of spam I’m getting ;-))

        1. 2

          I use the catchall technique for the same reason :)