asynchronous creation of message IDs and tokens