run
Runs the pickup functionality and returns an array of pairs containing attachment IDs and unpacked messages. If the type of the pickup response is DELIVERY, it processes the attachments, unpacks the messages, and returns them as an array. If the type is not DELIVERY, it returns an empty array.
Return
An array of pairs containing attachment IDs and unpacked messages.