this is a copy from https://github.com/lazerwalker/hubot-imessage