Variable: emailAttachmentSchema
constemailAttachmentSchema:ZodObject<{content:ZodOptional<ZodString>;contentType:ZodOptional<ZodString>;encoding:ZodOptional<ZodString>;filename:ZodString; },$strict>
Schema for a single file attached to an outbound email.
emailAttachment fields
Section titled “emailAttachment fields”filename: File name shown to the recipient (e.g. “report.pdf”).content(optional): Inline file content as a string. For binary data setencoding(e.g. “base64”).encoding(optional): Encoding ofcontent(e.g. “base64”, “utf-8”, “hex”). Defaults to utf-8 when omitted.contentType(optional): MIME type override (e.g. “application/pdf”). Inferred from the filename when omitted.