Giter Club home page Giter Club logo

resend-cold-emailer's Introduction

Resend Cold Emailer

This project is a simple client for sending emails through the Resend.com API. It's built with React and uses Axios for API calls, Yup for form validation, and Day.js for date and time formatting.

screenshot

resend-emailer-screenshot

Features

  • Send emails using the Resend.com API
  • Great for cold email outreach
  • Load a long batch of emails by comma-separation
  • Support for variables in messages (e.g. {fromName}, {toName}, {fromEmail}, {toEmail}, {currentDate}, {currentTime})
  • Form validation using Yup - removes invalid emails!
  • Alerts for successful emails / errors
  • Instant preview of the rendered email
  • Support for using temporary API key in browser or save it in .env

Installation

  1. Clone the repository:
git clone https://github.com/neontomo/resend-cold-emailer.git
  1. Navigate to the project directory:
cd resend-cold-emailer
  1. Install the dependencies with your package manager of choice:
yarn install # yarn
npm install # or with npm
pnpm install # or with pnpm
  1. Generate an API key from Resend.com and set up your custom domain DNS records:
  1. Rename the .env.example file to .env in the project root, and modify it to include your Resend API key:
RESEND_API_KEY="your-api-goes-key-here"
  1. Edit your default email templates in the .env file, or make them blank:
NEXT_PUBLIC_RESEND_FROM_NAME="Tomo"
NEXT_PUBLIC_RESEND_FROM_EMAIL="[email protected]"
NEXT_PUBLIC_RESEND_SUBJECT="Can I help you get more customers?"
NEXT_PUBLIC_RESEND_MESSAGE="Hi, {toName}!\n\nI hope you're doing well. I'm {fromName}, and I help businesses like yours get more customers.\n\nI'd love to learn more about your business and see if I can help you grow.\n\nDo you have time for a quick chat this week?\n\nKind regards,\n{fromName}"
  1. Start the development server:
yarn dev # yarn
npm run dev # or with npm
pnpm dev # or with pnpm
  1. Open your browser and navigate to http://localhost:3000.

Usage

  1. Fill out the form with the recipient's name, email address, your name and email address, a subject line and message.
  2. Click the "Send Email" button.
  3. If the email is sent successfully, you will see a success alert.
  4. If there is an error, you will see an error alert.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

resend-cold-emailer's People

Contributors

neontomo avatar

Stargazers

Shibley Burnett avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.