Variable: emailResultSchema
constemailResultSchema:ZodObject<{from:ZodString;messageId:ZodOptional<ZodString>;recipient:ZodString;sent:ZodBoolean; },$strip>
Schema for the dispatch result returned to the model after a send.
emailResult fields
Section titled “emailResult fields”sent: True once the message was handed to the SMTP server.recipient: Echo of thetorecipients (comma-joined) for confirmation.from: The resolved sender address the message was actually sent from.messageId(optional): SMTP message id assigned by the server, when one was returned.