Add queued attribute to messages