AE now has functions to check if a message exists, and to add a new message.