Stratal API Reference
    Preparing search index...

    Variable emailMessageSchemaConst

    emailMessageSchema: ZodObject<
        {
            attachments: ZodOptional<
                ZodArray<
                    ZodUnion<
                        readonly [
                            ZodObject<
                                {
                                    content: ZodString;
                                    contentType: ZodString;
                                    filename: ZodString;
                                    size: ZodOptional<ZodNumber>;
                                },
                                $strip,
                            >,
                            ZodObject<
                                {
                                    disk: ZodOptional<ZodString>;
                                    filename: ZodString;
                                    storageKey: ZodString;
                                },
                                $strip,
                            >,
                        ],
                    >,
                >,
            >;
            bcc: ZodOptional<ZodArray<ZodString>>;
            cc: ZodOptional<ZodArray<ZodString>>;
            from: ZodOptional<
                ZodObject<{ email: ZodString; name: ZodOptional<ZodString> }, $strip>,
            >;
            html: ZodOptional<ZodString>;
            replyTo: ZodOptional<ZodString>;
            subject: ZodString;
            text: ZodOptional<ZodString>;
            to: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
        },
        $strip,
    > = ...

    Base Email Message Schema

    Defines the core structure for email messages. Ensures either html or text content is provided.