success instead of the standard status/message/data envelope. Errors use the standard error envelope. The account owner must have Zapbox consent enabled, otherwise the call fails with 403; consent cannot be set through this API.attachmentId, messageId and provider from GET /onebox/thread-emails.Content-Type and Content-Disposition are passed through from Zapbox.provider is lower case: gmail, outlook or emailengine.GET /onebox/thread-emails.curl --location --request POST 'https://api.zapmail.ai/api/v3/onebox/download-attachment?attachmentId=ANGjdJ_abc123&provider=gmail&messageId=19a3f5c2d7e8b402&account=jane%40acme.com' \
--header 'x-auth-zapmail;'{"status": 400, "message": "Insufficient wallet balance", "errorId": "3f2a1b0c-9d8e-4f6a-b1c2-d3e4f5a6b7c8"}