1. Create directory
Create a new folder calledinkdes-email-starter
and initialize a new npm project:
2. Install dependencies
Install the InkDes Email package locally and a few components.3. Write an email template
Create a new folder calledemails
, create a file inside called my-email.tsx
, and add the following code:
emails/email-template.tsx
4. Use the template to convert and send email
parser.tsx