Fixed in v0.9.1: upgrade and attachments of any size download completely, with visible progress and one-click cancel.
In SJ-Mail versions before v0.9.1, downloading a large attachment always fails after roughly fifteen seconds with the error error decoding response body. The larger the attachment, the more reliably it reproduces; small attachments that finish within seconds are usually unaffected.
The old implementation applied a 15-second overall timeout to the entire download, including the response-body read. When a transfer took longer than 15 seconds the read was forcibly aborted, and parsing the truncated body raised error decoding response body — a timeout misreported as a decoding error. The attachment itself was fine.
Q: How do I fix "error decoding response body" when downloading attachments?
A: Upgrade to SJ-Mail v0.9.1 or later. In older versions a 15-second overall timeout covered the entire body read, so any transfer longer than 15 seconds failed with this error. v0.9.1 removes that timeout so attachments of any size download completely.
Q: Will very large attachments still fail if the download is slow?
A: No. v0.9.1 keeps only two protections: a 10-second connect timeout and a 120-second no-traffic stall guard. Slow-but-alive downloads are never killed, and the progress bar shows percentage and speed in real time.
Q: Can I switch to another email while a download is running?
A: Yes. Since v0.9.1 downloads continue in the background when you switch messages or accounts, and the completed download is still attributed to the original message.
Q: Can I cancel a download in progress?
A: Yes — click the "×" next to the progress bar. The attachment returns to its downloadable state and can be re-downloaded at any time.