> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shipthing.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Plunk

> Learn how to use Plunk for sending emails.

To use Plunk with ShipThing

**1. Create a Plunk account**

[Create a Plunk account](https://useplunk.com/) and grab your API key.

**2. Add environment variables**

Add the `PLUNK_TOKEN` environment variables to your .env.local file and your deployment environment:

Then, make sure to activate Plunk:

```ts /packages/email/index.ts theme={"system"}
export * from './providers/plunk';
```

**3. Sending Emails**

```tsx apps/web/app/contact/actions/contact.tsx theme={"system"}
import { plunk } from '@repo/email';
import { ContactTemplate } from '@repo/email/emails/contact';

await plunk.emails.send({
    to: 'recipient@acme.com',
    subject: 'The email subject',
    body: <ContactTemplate name={name} email={email} message={message} />,
});
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.