Skip to main content
Lettr enforces per-team rate limits on API requests to ensure fair usage across all customers and prevent any single integration from overwhelming the service. In addition to request-level rate limits, the Send Email endpoint returns quota headers that track your daily and monthly email usage.
Rate limits are different from email quotas. Rate limits control API request frequency (requests per second), while email quotas control sending volume (emails per month). For details on monthly email quotas, daily sending limits, and how usage is tracked, see Email Usage & Quotas.

Rate Limit

The default rate limit is 3 requests per second per team, shared across all API keys belonging to the same team. If you exceed the limit, subsequent requests return 429 Too Many Requests until the window resets.
Limit TypeValue
API requests3 requests per second
Authentication failures5 failures / 5 minutes (15 min block)
Recipients per request50 (combined to, cc, bcc)
If you continue sending requests after receiving a 429 response, the cooldown period may be extended. Always respect the Retry-After header before retrying.

Rate Limit Headers

Every API response includes rate limit headers:
HeaderTypeDescription
X-RateLimit-LimitintegerMaximum number of requests allowed per second.
X-RateLimit-RemainingintegerHow many requests you have left in the current window.
X-RateLimit-ResetintegerUnix timestamp (in seconds) when the rate limit window resets.
Retry-AfterintegerHow many seconds to wait before retrying. Only present on 429 responses.

Sending Quota Headers

The Send Email endpoint returns additional headers that track your email sending quotas. These headers are present for free tier teams.

Daily Quota

HeaderTypeDescription
X-Daily-LimitintegerMaximum number of emails you can send per day.
X-Daily-RemainingintegerHow many emails you have left today.
X-Daily-ResetintegerUnix timestamp (in seconds) when the daily counter resets (midnight UTC).

Monthly Quota

HeaderTypeDescription
X-Monthly-LimitintegerMaximum number of emails you can send per billing month.
X-Monthly-RemainingintegerHow many emails you have left this month.
X-Monthly-ResetintegerUnix timestamp (in seconds) when the monthly counter resets (start of next billing month).

Error Codes

When you exceed a limit, the API returns a 429 response with one of these error codes:
Error CodeDescription
rate_limit_exceededToo many API requests. Slow down and retry after the Retry-After period.
daily_quota_exceededDaily sending quota exceeded (free tier). Try again after midnight UTC.
quota_exceededMonthly sending quota exceeded. Upgrade your plan to continue sending.
429 Rate Limit Exceeded
{
  "message": "Rate limit exceeded. Please slow down your requests.",
  "error_code": "rate_limit_exceeded"
}
429 Daily Quota Exceeded
{
  "message": "Daily sending quota exceeded. Please try again tomorrow.",
  "error_code": "daily_quota_exceeded"
}
429 Monthly Quota Exceeded
{
  "message": "Sending quota exceeded. Upgrade your plan to continue sending.",
  "error_code": "quota_exceeded"
}

Handling Rate Limits

When you receive a 429 response, use the Retry-After header to determine how long to wait. Implement exponential backoff as a fallback:
async function sendWithBackoff(emailData, maxRetries = 5) {
  for (let attempt = 0; attempt < maxRetries; attempt++) {
    try {
      return await lettr.emails.send(emailData);
    } catch (error) {
      if (error.status === 429) {
        const retryAfter = error.retryAfter || Math.pow(2, attempt);
        console.log(`Rate limited. Retrying in ${retryAfter} seconds...`);
        await sleep(retryAfter * 1000);
      } else {
        throw error;
      }
    }
  }
  throw new Error('Max retries exceeded');
}

Batch Sending with Rate Limiting

When sending to large recipient lists, pace your API calls to stay within rate limits. Adding a short delay between batches prevents bursts that trigger throttling:
const recipients = [...]; // Large list
const batchSize = 50;
const delayBetweenBatches = 500; // milliseconds

for (let i = 0; i < recipients.length; i += batchSize) {
  const batch = recipients.slice(i, i + batchSize);

  await lettr.emails.send({
    from: 'you@example.com',
    to: batch,
    subject: 'Newsletter',
    html: content
  });

  // Pace your requests
  if (i + batchSize < recipients.length) {
    await sleep(delayBetweenBatches);
  }
}

Monthly Email Quotas

Your monthly email quota depends on your plan:
PlanMonthly Emails
Free3,000
Pro 50K50,000
Pro 100K100,000
Pro 200K200,000
Pro 500K500,000
Pro 1M1,000,000
EnterpriseCustom
Emails beyond your tier limit are charged at $0.80 per 1,000 emails. See Billing for details.

Best Practices

Always implement exponential backoff for 429 responses. Use the Retry-After header from the response when available, and fall back to a 2^attempt delay otherwise. Without backoff, rapid retries will keep hitting the limit and delay your sends further.
Check the X-RateLimit-Remaining header on every response. When it approaches zero, slow down your request rate proactively instead of waiting for a 429 response.
Each API request supports up to 50 recipients. Sending to 50 recipients per request instead of one-at-a-time reduces your API call count by 50x, making it far easier to stay within rate limits for large sends.
On free tier, check the X-Daily-Remaining and X-Monthly-Remaining headers to track your quota usage in real time. Set up internal alerts at 80% and 90% of your quota so you can upgrade your plan before hitting the limit.
For campaigns targeting thousands of recipients, use a job queue (such as BullMQ, Laravel Queues, or Celery) to pace sending over minutes or hours. This avoids burst patterns that trigger rate limits and gives you better control over delivery timing.
Polling the API to check delivery status consumes rate limit budget. Instead, set up webhooks to receive delivery, bounce, and engagement events asynchronously. This eliminates polling requests entirely and gives you faster, event-driven status updates.

Increasing Your Limits

If your current limits don’t match your sending volume, you have several options:
  • Upgrade your plan — Increases your monthly email quota immediately
  • Enterprise plans — Custom rate limits tailored to your traffic patterns — contact sales to discuss your requirements
  • Batch recipients — Send up to 50 recipients per request to reduce API call volume
  • Use webhooks — Replace polling with event-driven notifications to save rate limit budget
  • Implement a queue — Smooth out traffic spikes to avoid burst patterns

Contact Sales

Need higher limits? Contact our sales team for Enterprise options.