1
0 Comments

Send rich HTML emails using the email account you already have

Hi there,

Wanted to share something I've built to scratch my own itch.

So, you want to build your next startup/SaaS. You buy a domain, set up an email using something like google workspace, and go through the pain to configure the DKIM/DMARC/SPF for your email account.

Now you need to start sending emails to your customers, starting with thanking them for joining the waitilist, followed by all sorts of transactional emails (your trial will expire, you've been invited to organization XY, 10 ways to make the best of our product, ...). Why not just plugging in the email account you already have?

That's where my project comes in, just integrate your email using SMTP and start sending plaintext, markdown, or full reach html emails with baked in support for unsubscribe management and tracking of opens and link clicks. Here's an example of a simple API request.

curl -X POST https://api.indiepitcher.com/v1/email/transactional
   -H 'Content-Type: application/json'
   -H "Authorization: Bearer {YOUR API TOKEN}"
   -d '{"subject":"Welcome to IndiePitcher","body":"Your email content", "bodyType": "plaintext", "recipientEmail": "john@example.com", "category": "onboarding"}'

You can also create a predefined template and send an email by providing personalization data.

Here's the full API reference https://github.com/IndiePitcher/documentation/blob/main/rest-api.md

Feel free to sign up for free at https://indiepitcher.com and try it out.

on February 15, 2024