MODIFIED: the sendMessageActivity to use the queue