All templates
authentication
Password Reset Template
Allow users to securely reset their password
Preview
HTML Code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reset Password</title>
</head>
<body style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px;">
<div style="background: #ffffff; padding: 40px 30px; border: 1px solid #e5e7eb; border-radius: 12px;">
<h1 style="color: #1f2937; font-size: 24px; margin-top: 0;">Reset your password</h1>
<p>Hi {{name}},</p>
<p>We received a request to reset your password. Click the button below to choose a new one:</p>
<div style="text-align: center; margin: 30px 0;">
<a href="{{reset_url}}" style="display: inline-block; background: #dc2626; color: white; padding: 14px 32px; text-decoration: none; border-radius: 8px; font-weight: 600;">Reset Password</a>
</div>
<p style="color: #6b7280; font-size: 14px;">This link will expire in {{expiry_time}}. If you didn't request a password reset, you can safely ignore this email.</p>
<hr style="border: none; border-top: 1px solid #e5e7eb; margin: 30px 0;">
<p style="color: #9ca3af; font-size: 12px; margin-bottom: 0;">If the button doesn't work, copy and paste this link: {{reset_url}}</p>
</div>
</body>
</html>Template Variables
Replace these placeholders with your actual data:
{{name}}{{reset_url}}{{expiry_time}}Send with SendPigeon
import { SendPigeon } from "sendpigeon";
const client = new SendPigeon(process.env.SENDPIGEON_API_KEY);
await client.emails.send({
from: "hello@yourdomain.com",
to: "user@example.com",
subject: "Reset your password",
html: `<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device...`,
});Ready to send emails?
Get started with 1,000 free emails per month.
Start for free