[message] Separate the attachments promise from the attachments dict (there must be a better way to do this?).