A chicken in every pot, an email address for every app

TL;DR: we recently released an email gateway for our mobile live chat product: if you add Hipmob to your app we now give your app an email address. You can send an email and have it show up in your app: lets you use your existing tools, but still keep your users in your app.

Sorry, couldn't resist: I've wanted to use that opener for a long time. Herbert Hoover never actually used the phrase, but it does bring to mind something that is universally available, and it seemed to fit with what we were trying to do here, so we went with it. A very large percentage of the world's population has at least one email address (in some cases many more than one): it is still one of the most dominant forms of electronic communication, if not THE most dominant (perhaps SMS messaging may have it beat?).

Hipmob provides an SDK for real-time communication that can be used to provide live support to your users (via chat) or to build user-to-user chat or group chat into your mobile or web app; it's as simple as downloading our libraries (for iOS, Android and the web), integrating them into your apps with an app key we provide and then your app has real-time communications (so you can talk to users or they can talk to each other). No server setup or code to write, just real time communication that scales with you.

No operators available

One of the biggest obstacles as we saw it was that most live chat implementations are limited to talking to the user when they are online and available: this generally requires that an operator be at hand, which can be hard for small companies. Our first attempt to change that was with our server API: a fully-featured REST API that lets you send text, picture or audio messages to any app with the Hipmob libraries integrated into it. We built language specific libraries (currently in PHP, Python and Javascript for NodeJS, with Java, Ruby and C# in development) and we think in the long term this will work out well for new applications and tools that are currently being developed.

Existing Tools

There are still a lot of very useful tools that are completely unaware of the live chat communication channel: help desks like Desk and Zendesk (which we integrate with), CRM tools like Salesforce and Highrise (which we also integrate with), and even handy old favorites like Gmail (which EVERYONE integrates with, one way or another). All these tools grok email, though. So the question was: what could we do to bridge the gap?

Email to Chat Integration

And as soon as we started thinking about it, the answer jumped out at us: give every app install an email address of its own. Messages sent to the email address get translated by Hipmob's communication network and routed appropriately. The app can now be a fully-fledged participant in all the business processes that depend on email:

  • You can add the email address to mailing lists.
  • Help desk tools that send email can reply with changes/fixes and the information will show up right in the app.
  • CRM tools can send follow ups directly to the app.
  • ...you get the picture.


Details

So how did we do it? We already assign unique identifiers to every instance of an app with the Hipmob libraries embedded, and we already had an API to send messages: it was pretty straightforward to wire up an email gateway (thank you Mailgun for your support) that parses the address to determine where to send it to, extracts the email message components and then calls our API with the email body and any acceptable attachments. Our existing communication network takes care of the rest. As with our API, we handle offline messaging: if the app isn't connected we'll buffer the messages and deliver them later. See the full documentation here.

A neat little trick is that we let the host application set a custom unique identifier: this lets you tie the app install on our network with your internal database. Since we buffer messages for app installs that haven't even connected to our network yet, this lets you do some interesting things. As an example, say you are a software-as-a-service vendor and a customer signs up with you before installing your app. You know in advance what unique identifier you'll use for that user when they finally fire up your mobile app, so you can queue welcome messages or specific guidance for the user. Whenever they login to the app, those messages will be instantly delivered. If you have specific use cases you'd like to discuss give us a call at (650) 762-6513 or you can always email us at team@hipmob.com.

Instant Value (for us)

It has already been useful to us: right now at the conclusion of a chat session we send an email transcript to the admins for the app. The email includes a link to view the transcript in our management interface, and you could then send a reply from our web interface. As we were finalizing the email integration we mentioned it to a customer (Thanks Elliott!) and he immediately pointed out that we could make it so replies to our transcript emails get sent directly to the phone, which solved the "where do replies go?" question. We released that earlier today. This also extends to help desk programs like Desk, which support sending an email whenever support staff reply to an issue: now if you integrate Hipmob with Desk you can have support replies routed directly to your app.

And...a demonstration

Why not? The bottom right of the page has a little tab: if you pop it open it should show you the email address for this browser session. You can send an email to that address and it should show up shortly: there will be some slight delays, since email isn't always instant, but there's no need to refresh the screen or anything else. If the email address doesn't show up type help to show it.

Let us know your thoughts: if you have any questions, suggestions or comments email/call/chat with us!

P.S. If you're building a mobile app and want first-class, integrated, in-app support chat or direct messaging between users you should check out Hipmob!

Give your app an email address with Hipmob