import { SESClient, SendEmailCommand } from "@aws-sdk/client-ses";

export const sendEmail = () => {
        try {
            const params = {
                Source: "Your from email id",
                Destination: {
                    ToAddresses: [
                        'To mail id'
                    ]
                },
                Message: {
                    Subject: {
                        Data: 'Your subject'
                    },
                    Body: {
                        Text: {
                            Data: 'Your data'
                        }
                    }
                }
            }
            const ses = new SESClient({ region: 'Your AWS region'});
            const command = new SendEmailCommand(params);
            const sesResult = await ses.send(command);
            return sesResult;

        } catch (err) {
            reject(err)
        }
}

Для получения дополнительной справки см. Документы AWS