{ 01. Get Started }

Send Email Directly From JavaScript

No server code needed. Focus on things that matter!
Create Free Account
{ 02. What You Need To Know }

How does it work?

Connect your email service

Connect your email service

Choose from a wide variety of email services.
We support both transactional email services (Mailgun, Mailjet, Mandrill, SendinBlue, SendGrid, Amazon SES and Postmark) and personal email services (AOL, Gmail, FastMail, iCloud, Mail.ru, Outlook, Yahoo, Yandex and Zoho).
Create email template

Create email template

Easily build your own template. Choose the tool most suitable for you: text editor or code editor. Templates are parameterized, so that you can further customize them via JavaScript.
Send email from JavaScript

Send email from JavaScript

Add our JavaScript SDK, and start sending emails!
var params = {
name: 'John',
reply_email: 'john@example.com',
message: 'This is awesome!'
emailjs.send( 'gmail', 'feedback', params );
{ 03. Frequently Asked Questions }


Can I use EmailJS for free?


You can send up to 200 emails per month completely for free. If you need to send more emails, want to use advanced features like file attachments, or remove our footer from the emails – please take a look at our plans

Can't I use services like Sendgrid or Mandrill directly?

All email services require some sort of authentication to send the emails on your behalf. That makes it a really bad idea to use them directly from client-side – revealing your password or your secret keys will allow anyone to send emails on your behalf.

EmailJS keeps your authentication details on the server-side, and the client-side code just triggers a predefined email template, similarly to how any client-server application is working.

Does EmailJS expose my account to spam?

A better way to think of EmailJS in terms of security is not as a service that allows you to send email from Javascript, but rather as a service that allows you to create a predefined set of emails via the dashboard, and then just trigger the emails from the Javascript. This is quite similar to how emails are usually sent via a proprietary server code, and also to the way products like Intercom or customer.io are working.

Additionally, we've also developed various tools to prevent abuse – for instance, we have IP based rate limits to prevent bots from spamming, the whitelist of origin, and also support reCAPTCHA tests to make sure that a human is sending the email (although it's up to the developer to turn this feature on).

Can I send HTML emails?

Of course!

HTML emails are fully supported, and you can create them either using our visual text editor or by entering the HTML code directly. That said, most email clients don't fully support all the HTML and CSS features, so please refer to this Campaign Monitor guide (opens new window) to learn about the various restrictions.

What about plain text emails?

Our service sends emails as multipart related! This means that emails contain HTML and plain text. If HTML is not supported or denied, the text part will be displayed.

Are you GDPR-compliant?

Absolutely! For more information take a look at GDPR Data Processing Agreements

Ask A Question
{ 04. Loved and Trusted By }

Over 25,000 developers around the world trust EmailJS to send emails

Get Started