AIML provides support for interacting with the client or phone using the "out of bound" (oob) tag. This lets extra information to be given in a response that can be used to perform actions like open gmail.
oob tags is something we are working on, but not something we currently support. Hopefully we will be able to release this support soon.
Bot Libre does provide support for avatar actions, poses, and emotions. If you are writing your own Android or iOS client using our SDK, you could use actions to perform operations on the phone such as open gmail. Another option would be to parse or check the response yourself for oob tags.