Choose what a correct attachment means
A file keeps its name after your own collector saves it, yet its contents have changed. If the attachment is binary, a text conversion may be the wrong intermediate step. Choose a Mail.tm reader that uses the required representation and checks the actual synthetic bytes. The acceptance question is whether the intended small payload remains intact, not whether a paperclip or familiar extension appears.
Use an invented four-byte specimen with hexadecimal values 00, 7F, 80 and FF. It is an original inert test input for an owned adapter test, not a program to execute, someone's document or a real received attachment. The owner's expected result is exactly that ordered sequence. The compact example makes a representation mistake visible without collecting private mail or running any provider operation.
Keep the native metadata in its proper role
Mail.tm’s attachment documentation distinguishes binary handling from text handling and points to contentType as useful guidance. Choose the representation appropriate to the intended content. A declared media type helps the decision; it is not evidence that the fetched bytes are correct, safe to execute or identical to the original specimen. Keep those separate acceptance questions out of a single filename-based pass.
For the paper case, declare the specimen binary and define the expected four values independently of its file name. A reader should not choose text simply because its adapter prefers strings. Text interpretation, where appropriate, still needs a known encoding and supported behavior. When that information is unresolved, preserve the ambiguity rather than invent a conversion rule that makes an unreadable output look convenient.
Show a destructive round trip with declared rules
The fictional wrong adapter first treats the input as text. In this example's deliberately declared conversion rule, each of the two high-byte values becomes a replacement marker. The adapter then encodes that resulting text for storage. The first two values may look familiar, but the saved result no longer has the original ordered four-byte sequence. The example does not assert that every decoder makes the same substitutions.
The correct paper branch preserves binary data and returns the declared sequence 00, 7F, 80, FF. Compare all four positions with the original expected input. If the first two match while the last two become replacement markers, the copy still fails; a partially familiar preview is not sufficient. This is an invented logical exercise, without a provider download, decoder experiment or certified attachment-integrity result.
Keep interpretation after preservation
A reader may later interpret a permitted copy using a compatible supported application, but that is a separate task from preserving the bytes. Do not execute attachments as part of this exercise. For the inert four-byte fixture, comparing its declared ordered values is enough to reveal the wrong representation. Rendering a pretty thumbnail would not repair a changed payload or establish the original byte-copy result.
For a text case, use a separately declared original text input and known encoding instead of reclassifying this binary specimen after a failed conversion. An adapter can have distinct branches whose requirements are explained. The important choice is that each branch matches the content and task it claims to support. A universal string path conceals this decision; a universal binary-preservation step does not by itself interpret text.
Run the fixture through a Mail.tm mailbox
Once the paper case is clear, run it in your own environment. Have your application send the inert four-byte file as an attachment to a Mail.tm mailbox you control, open the message detail, pick binary or text handling from the attachment's contentType, download it and compare all four positions with 00, 7F, 80 and FF. A pass means this reader kept this file intact; a failure points at the step where the conversion happened.
Use any real Mail.tm retrieval only for your own synthetic environment, and do not send personal, payment, recovery or confidential documents into the test. Mail.tm's API terms also ask anyone using the API to link back to mail.tm somewhere visible, so keep that link in your test tooling.
Check a delivered account within its described role
If you buy Mail.tm accounts on rStock to test your own application's attachments, read what each listing says it delivers. The account gives you a mailbox whose message detail lists attachments with a contentType; the byte-preserving reader stays your job. rStock is an independent marketplace, not part of Mail.tm. Unclear listing details are a reason to choose a clearer listing or defer, because there is no store chat before purchase.
After delivery, the account's part of the job is to receive the message and list the attachment in the message detail. Only an account that does not work as described belongs in a dispute: if no token can be obtained with the delivered credentials, set that against the delivery record on your order page and open the dispute within the window displayed with the order. If the attachment is listed but your saved copy has different bytes, the defect is in your own reader, not in the delivery. Keep the synthetic payload separate from private credentials.
Choose the result you can actually inspect
The useful answer for this example is whether the reader preserves 00, 7F, 80 and FF in that order under the declared binary-copy requirement. A changed sequence is an inspectable reason to reject the representation path. A preserved sequence proves only this bounded paper case; it does not certify every file, every encoding or a service’s overall attachment behavior.
Compare Mail.tm account listings when your test plan needs a mailbox for attachment checks. Your own inert fixture and existing allowed tools may already let you assess the reader. Choose a reader from the representation and preservation requirement, then assess any later interpretation separately, keeping file names, media-type declarations, saved bytes and rendered appearance as distinct observations.