asFailedAttachmentEventOrNull