Back to docs

Sendlar

Email sending product documentation

Sendlar is Gavenue's email-sending product. It provides bulk email sending, SMTP configuration, real-time analytics, CSV import, templates, bots, and webhooks. The Sendlar app is hosted at sendlar.gavenue.io.

Relationship: Gavenue handles billing, plans, checkout, and trial activation. The Sendlar app handles sending, templates, analytics, and integrations.

Plans and pricing

PlanAmountDurationMonthly email limit
Free trialFree7 days500
MonthlyINR 6991 month40,000
YearlyINR 6,99912 months50,000

USD pricing: Monthly $8, Yearly $84 — contact via WhatsApp.

Routes and pages

RoutePurpose
/sendlarLanding page with features, pricing, trial CTA
/sendlar/checkout?plan=monthlyCheckout for monthly plan
/sendlar/checkout?plan=yearlyCheckout for yearly plan
/checkout/success?sendlar=1Post-payment success with Sendlar CTA

API routes

Sendlar

MethodPathDescription
POST/api/sendlar/start-trialStart 7-day free trial. Requires auth; one-time per user. Returns { ok, plan, expiresAt, activatedAt } or { error }.

Related APIs

MethodPathUsage
GET/api/subscriptions/meReturns sendlarPlan, sendlarPlanActive, sendlarFreeTrialUsedEver
POST/api/payments/createCreate payment with metadata: { platformPlan: 'sendlar', sendlarPlan }
POST/api/payments/verifyVerify payment; PaymentService activates plan on success
POST/api/payments/confirmConfirm payment for success page
POST/api/cron/sendlar-expiryMark expired plans; send expiring-soon reminders with ?notify=true&notifyDays=7

Admin Sendlar APIs: see Admin routes.

User flow

  1. User visits /sendlar, chooses trial or paid plan.
  2. Trial: POST /api/sendlar/start-trial → redirect to sendlar.gavenue.io.
  3. Paid: /sendlar/checkout?plan=monthly|yearly → payment → /checkout/success?sendlar=1 → CTA to sendlar.gavenue.io.

User model (Sendlar fields)

FieldTypePurpose
sendlarPlan'monthly' | 'quarterly' | 'yearly' | 'free trial' | 'none'Current plan
sendlarPlanActivebooleanWhether plan is active
sendlarPlanExpiresAtDatePlan expiry
sendlarPlanActivatedAtDateWhen plan was activated
sendlarTrialUsedAtDateWhen trial started
sendlarFreeTrialUsedEverbooleanOne-time trial flag
sendlarMonthlyEmailLimitnumberMonthly email limit
sendlarMonthlyLimitResetDateDateNext limit reset
sendlarExpiryReminderSentAtDateLast expiring-soon reminder
sendlarApiKeystring (select: false)API key for Sendlar

Sendlar collections

ModelCollectionPurpose
Templatesendlar-templatesuserId, name, subject, html, variables, isDefault
Botsendlar-botsuserId, name, triggerType, triggerConfig, actions, isActive, run stats
Emailsendlar-emailsuserId, subject, body, html, status, recipientCount, sentAt, scheduledAt
Webhooksendlar-webhooksuserId, name, url, events, secret, isActive
Imagesendlar-imagesuserId, key, filename, size, mimeType
SMTPConfigsendlar-smtpconfigsuserId, label, host, port, user, password (select: false)

Admin

Sendlar-related admin pages and APIs: Admin routes.

  • Users: plan activation, email limits
  • Emails, templates, images, SMTP, bots, webhooks, API keys: list, view, manage

Sendlar permissions

PermissionPurpose
SENDLAR_EMAILS_READ, SENDLAR_EMAILS_WRITEEmails
SENDLAR_TEMPLATES_READTemplates
SENDLAR_IMAGES_READ, SENDLAR_IMAGES_DELETEImages
SENDLAR_SMTP_READSMTP configs
SENDLAR_BOTS_READ, SENDLAR_BOTS_WRITEBots
SENDLAR_WEBHOOKS_READ, SENDLAR_WEBHOOKS_WRITEWebhooks
SENDLAR_API_KEYS_READ, SENDLAR_API_KEYS_REVOKEAPI keys
SENDLAR_PLANS_WRITEPlan activation
SENDLAR_LIMITS_WRITEEmail limits
SENDLAR_SYSTEM_READSystem

Lib modules

FilePurpose
lib/sendlarPlans.tsPlan configs, getSendlarPlan(), getSendlarPlanExpiresAt(), isValidSendlarPlanId()
lib/sendlarTrial.tsinitializeSendlarTrial() — sets trial fields (500 emails, 7 days)
lib/email/sendlarPlanEmails.tssendSendlarPlanActivatedEmail(), sendSendlarPlanExpiringEmail()
lib/notifySendlarPlanActivated.tsEmail + WhatsApp notifications on plan activation
lib/abandonedCheckout.tssaveAbandonedCheckout(), getAbandonedCheckouts() — stores sendlarPlan for resume

Components

Sendlar-specific

ComponentPurpose
SendlarCheckoutFormCheckout form: billing, GST, coupons, payment methods
SendlarCheckoutAuthLinksLogin/Sign up links for unauthenticated users

Related

  • AbandonedCheckoutCard — Resume Sendlar checkout when checkout.sendlarPlan is set
  • SubscriptionsClient — Displays sendlarPlan from /api/subscriptions/me
  • AdminEmailsClient, AdminTemplatesClient, AdminBotsClient, AdminWebhooksClient, AdminImagesClient, AdminAPIKeysClient
  • AdminUserDetailClient — User detail with plan activation and email limits

External links

LinkPurpose
sendlar.gavenue.ioSendlar app
wa.me/919984294923WhatsApp contact for USD purchases