Skip to content

Email Studio

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/email-studio
Package slugemail-studio
Product groupCapell Marketing & Growth
Tierpaid
Bundlemarketing-growth
Runtime contextsadmin, frontend, console
Capell version^1.0
Catalogue roleextension
Release channelBeta
Docs sourcepackages/email-studio/docs
Manifestcapell.json

A customer asks for a password reset, and the email that arrives looks like your site, in the language they read. Each automatic email your site sends to people with accounts has one branded template shared by all your sites. You edit it per language, check it with a preview and a Send draft test button, then activate it.

Password reset and verification emails use these templates from the day you install, and go out through your site’s normal mailer. The log, called Delivery messages, does not list them. It records test sends and the other account emails, such as welcome and sign-in notices. These stay off until you switch them on in settings, and go out as background jobs running on your server. Those sends need a default delivery profile for all sites, the mail settings Email Studio sends through. Only a Super Admin can create that profile or see those emails in the log. There are no mailing lists or broadcasts. A separate Sent emails list, for administrators who see every site, shows opens and clicks on tracked mail.

When your mail service reports a hard bounce or a complaint, later logged sends skip that address. Search Delivery messages for a customer’s address and you see whether their welcome or sign-in notice was sent or failed, and why.

  • Price and availability: Check current availability and price on the Capell Marketplace listing.
  • Licence: Check the licence terms on the Capell Marketplace listing.
  • Requires: PHP ^8.4, capell-app/admin ^1.0.78, capell-app/core ^1.0.78, capell-app/frontend ^1.0, jdavidbakr/mail-tracker ^8.1.
  • Install: composer require capell-app/email-studio.
  1. Install the package: composer require capell-app/email-studio. Run the package setup: php artisan capell-email-studio:install.
  2. For Email editors: Permission to customise templates, a registered template and a configured delivery profile for test mail.
  3. Open /admin/email-studio/templates. Use Customise on a template, edit and save its draft in Template Variants, then use Preview draft and Send draft test.
  4. Check the result: The preview and received test use the selected saved draft; ordinary sends retain the active version or static default. Next: Use Activate explicitly after checking the saved draft.

Template and provider registries give packages stable extension points, while Actions isolate rendering, suppression checks, delivery, and webhook event recording.

  • Configuration files: config/capell-email-studio.php.
  • Admin settings: Capell\EmailStudio\Settings\EmailStudioSettings, Capell\EmailStudio\Manifest\EmailStudioSettingsContribution.
  • Commands: php artisan capell-email-studio:install, php artisan capell-email-studio:prune-bodies, php artisan capell-email-studio:purge-tracked-emails, php artisan capell-email-studio:reconcile-uncertain.
  • Install the required Capell packages at the versions in composer.json: capell-app/admin ^1.0.78, capell-app/core ^1.0.78, capell-app/frontend ^1.0.
  • Run migrations before opening package resources or public routes.
  • Review middleware, throttling, signatures, and public-output safety in routes/web.php before exposing routes.
  • Keep the host Laravel scheduler running so package-registered schedules can execute: capell-email-studio:purge-tracked-emails (daily; package registered).
  • Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
  • Custom write integrations must preserve invalidation for email-studio cache tags.

Sent emails admin indexSent emails admin index

Sent email detail viewSent email detail view

  • Sent emails admin index (admin).
  • Sent email detail view (admin).
  • Registered email templates index (admin).
  • Email template themes (admin).
  • Email template variant editor (admin).
  • Email template preview and send test action (admin).
  • Email Studio settings (admin).
  • Sent emails admin index with admin sidebar menu open (admin).
  • Required packages: capell-app/admin, capell-app/core, capell-app/frontend.
  • Admin navigation: declares admin-page: EmailStudioClusterContribution, admin-resource: EmailMessageResourceContribution, admin-resource: EmailProfileResourceContribution, admin-resource: EmailSuppressionResourceContribution, admin-resource: SentEmailResourceContribution, admin-resource: TemplateAuthoringResourceContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: none declared.
  • Permissions: ViewAny:SentEmail, View:SentEmail, ViewAny:EmailMessage, View:EmailMessage, ViewAny:EmailTemplateRegistration, View:EmailTemplateRegistration, ViewAny:EmailTemplateVariant, View:EmailTemplateVariant, Update:EmailTemplateVariant, ViewAny:EmailTemplateTheme, View:EmailTemplateTheme, Create:EmailTemplateTheme, Update:EmailTemplateTheme, ViewAny:EmailProfile, View:EmailProfile, Create:EmailProfile, Update:EmailProfile, ViewAny:EmailSuppression, View:EmailSuppression, Create:EmailSuppression, Update:EmailSuppression; access also governed by package policies: AbstractEmailStudioResourcePolicy, EmailMessagePolicy, EmailProfilePolicy, EmailSuppressionPolicy, EmailTemplateRegistrationPolicy, EmailTemplateThemePolicy, EmailTemplateVariantPolicy, SentEmailPolicy.
  • Public routes: loads routes/web.php.
  • Database changes: package migrations are declared.
  • Config: config/capell-email-studio.php.
  • Settings: Capell\EmailStudio\Settings\EmailStudioSettings, Capell\EmailStudio\Manifest\EmailStudioSettingsContribution.
  • Queues or schedules: scheduled commands capell-email-studio:purge-tracked-emails (daily; package registered); queue jobs SendEmailJob.
  • Cache tags: email-studio.
  • Commands: capell-email-studio:install, capell-email-studio:prune-bodies, capell-email-studio:purge-tracked-emails, capell-email-studio:reconcile-uncertain.
SymptomLikely causeCheckFix
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Admin screen or command fails on missing tablePackage migrations have not runCheck the tables listed in Data ModelRun host migrations and rerun the focused package test
Route returns unexpected outputRoute cache, middleware, or signed URL setup does not match the package route fileCheck the route files listed in Technical ShapeClear route cache and verify middleware before exposing public routes
Background work does not runQueue worker or declared schedule is not activeCheck the jobs and scheduled commands listed in Technical ShapeStart the queue worker or host scheduler, then run the focused command or package test
Public output leaks unexpected stateRender data, cache variation, or authoring boundary has regressedCheck public Blade, cache tags, and public-output safety testsMove data loading out of Blade and rerun the package public-output tests

Read CHANGELOG.md before upgrading.

  • Run Core’s migrations so capell_inbound_webhook_events exists, and run a queue worker: provider events are now applied by a queued job.
  • A provider event with a missing or wrong signature now gets 400 instead of 401; an unknown endpoint token still gets 404. Accepted events get 202, and a redelivery of a stored event gets 200.
  • webhook_rate_limit now applies per sending address across every profile, instead of per profile and address.
  • ValidateProviderWebhookSignatureAction and ProviderWebhookController are removed. TracksProcessedProviderWebhooks is deprecated and no longer consulted; Core deduplicates every delivery.
  • Postmark signs nothing and sends no timestamp, so its webhooks have no replay window. A replay is stopped by Core’s dedupe on a hash of the body and, after Core prunes an event 30 days after processing, by the unique idempotency key on each email event.
  • The generic (SMTP and custom provider) webhook now needs a timestamp. Sign the string timestamp.body (the Unix timestamp, a full stop, then the raw request body) with HMAC-SHA256 and send the timestamp in X-Capell-Email-Studio-Timestamp and the signature in X-Capell-Email-Studio-Signature. Requests signed over the body alone, or sent without the timestamp header, are rejected. Requests more than webhook_tolerance_seconds (300 by default) from the current time are rejected.
  • Amazon SNS notifications are accepted for sns_tolerance_seconds (24 hours by default) because SNS redelivers with the original publish time.