import { Transmit } from 'transmitdev';const client = new Transmit({ apiKey: process.env.TRANSMIT_API_KEY});async function sendEmail() { try { const response = await client.emails.send({ from: 'hello@yourdomain.com', to: 'user@example.com', subject: 'My First Email', html: ` <h1>Hello from Transmit!</h1> <p>This is my first email sent via the Transmit API.</p> ` }); console.log('Email sent!', response.id); } catch (error) { console.error('Error sending email:', error); }}sendEmail();