{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Generates a preview image for a message that was not flagged as a detection. The message is rendered from the copy in the recipient's mailbox, so this requires an active integration and only works while the message is still in the recipient's inbox. Returns a base64-encoded PNG screenshot of the email body. For messages with a detection, use the detection preview endpoint instead.","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/email-security_identifier","description":"Account identifier tag."}},"required":["account_id"],"additionalProperties":false},"body":{"type":"object","properties":{"id":{"$ref":"#/definitions/email-security_InvestigateId"}},"required":["id"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"email-security_identifier":{"description":"Identifier.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"email-security_InvestigateId":{"description":"Unique identifier for a message retrieved from investigation.","type":"string","examples":["4Njp3P0STMz2c02Q-2024-01-05T10:00:00-12345678"]}}},"name":"Generate preview for a non-detection message","id":"cloudflare.email_security_post_preview","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353"},"body":{"id":"4Njp3P0STMz2c02Q-2024-01-05T10:00:00-12345678"}},"maxRequests":1,"summary":false}}