Getting Started
Welcome to FormaMail! This guide will help you get up and running in just a few minutes.
What Youโll Learn
- How to create an account and set up your team
- How to generate your first API key
- How to send your first email
- Next steps after getting started
Step 1: Create an Account
- Visit https://app.formamail.com/signup
- Enter your email address and create a strong password
- Click Create Account
- Check your email for the verification link
- Click the verification link to activate your account
Password Requirements: Your password must be at least 8 characters long and include uppercase, lowercase, number, and special character.
Step 2: Complete Your Profile
After creating your account, youโll be guided through a quick onboarding:
- Company Information: Enter your company name and role
- Team Size: Select your team size
- Use Case: Tell us how you plan to use FormaMail
This helps us customize your experience!
Step 3: Create Your First API Key
API keys are required to send emails programmatically.
Via Dashboard:
- Navigate to Settings โ API Keys
- Click Create New API Key
- Give it a descriptive name (e.g., โProduction Keyโ)
- Select the permissions you need:
- โ Send Emails
- โ Manage Templates
- โ View Analytics
- Click Create Key
Important: Copy your API key immediately! You wonโt be able to see it again for security reasons.
Example API Key:
fm_sk_abc123xyz456...Store this securely in your environment variables:
# .env
FORMAMAIL_API_KEY=fm_sk_abc123xyz456...Step 4: Send Your First Email
Now letโs send your first email using the API!
Quick Test with API Playground
Use our API Playground for the easiest way to test:
- Go to API โ Playground
- Select the Send Email endpoint
- Choose a template from the dropdown
- Fill in the recipient email and variables
- Click Send Request
You should receive the email within seconds!
Using cURL
curl -X POST https://api.formamail.com/api/emails/send \
-H "Authorization: Bearer fm_sk_abc123xyz456..." \
-H "Content-Type: application/json" \
-d '{
"templateId": "your-template-id",
"to": [
{
"email": "recipient@example.com",
"name": "John Doe"
}
],
"variables": {
"firstName": "John",
"message": "Hello from FormaMail!"
}
}'Using JavaScript/TypeScript
async function sendEmail() {
const response = await fetch('https://api.formamail.com/api/emails/send', {
method: 'POST',
headers: {
'Authorization': 'Bearer fm_sk_abc123xyz456...',
'Content-Type': 'application/json',
},
body: JSON.stringify({
templateId: 'your-template-id',
to: [
{
email: 'recipient@example.com',
name: 'John Doe'
}
],
variables: {
firstName: 'John',
message: 'Hello from FormaMail!',
},
}),
})
const data = await response.json()
console.log('Email sent:', data)
}
sendEmail()Success! If you received the email, youโre ready to start building with FormaMail!
Step 5: Create Your First Template
Templates allow you to create reusable email designs:
- Navigate to Templates โ Create New Template
- Choose Email Template
- Use the drag-and-drop designer to create your layout
- Add variables like
{{name}}and{{companyName}} - Click Save and Publish
Now you can use this template when sending emails!
Next Steps
Now that youโve sent your first email, hereโs what to explore next:
๐จ Design Templates
Learn how to create beautiful email templates with our visual designer.
๐ Track Performance
Monitor email opens, clicks, and delivery status.
๐ Analytics Guide
๐ API Integration
Integrate FormaMail into your application.
๐ API Reference
๐ Generate Attachments
Create PDF invoices and Excel reports from templates.
๐ Attachment Guide
Common Questions
How many emails can I send?
You get 1,000 free emails when you sign up (no credit card required). After that, you can purchase email credits in blocks - 1 block = 10,000 emails. Credits never expire! Check our Pricing Page for volume discounts.
Can I use my own domain?
Yes! You can configure a custom sending domain in Settings โ Domains.
Where can I view sent emails?
All sent emails are visible in Email Logs with detailed status information.
Do you support attachments?
Yes! You can attach files or generate PDFs/Excel files from templates.
Need Help?
- ๐ User Guide
- ๐ป Developer Guide
- ๐ API Reference
- ๐ฌ Discord Community
- ๐ง support@formamail.com
Ready to dive deeper? โ User Guide