Email Studio
Package docs status
Section titled “Package docs status”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.
| Field | Value |
|---|---|
| Composer package | capell-app/email-studio |
| Package slug | email-studio |
| Product group | Capell Marketing & Growth |
| Tier | paid |
| Bundle | marketing-growth |
| Runtime contexts | admin, frontend, console |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Docs source | packages/email-studio/docs |
| Manifest | capell.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.
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/email-studio. Run the package setup:php artisan capell-email-studio:install. - For Email editors: Permission to customise templates, a registered template and a configured delivery profile for test mail.
- 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. - 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.
For Developers
Section titled “For Developers”Template and provider registries give packages stable extension points, while Actions isolate rendering, suppression checks, delivery, and webhook event recording.
Configure
Section titled “Configure”- 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.
Limits And Pitfalls
Section titled “Limits And Pitfalls”- 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.phpbefore 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-studiocache tags.
Screens And Workflow
Section titled “Screens And Workflow”



- 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).
Install Impact
Section titled “Install Impact”- 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 jobsSendEmailJob. - 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.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Admin screen or command fails on missing table | Package migrations have not run | Check the tables listed in Data Model | Run host migrations and rerun the focused package test |
| Route returns unexpected output | Route cache, middleware, or signed URL setup does not match the package route file | Check the route files listed in Technical Shape | Clear route cache and verify middleware before exposing public routes |
| Background work does not run | Queue worker or declared schedule is not active | Check the jobs and scheduled commands listed in Technical Shape | Start the queue worker or host scheduler, then run the focused command or package test |
| Public output leaks unexpected state | Render data, cache variation, or authoring boundary has regressed | Check public Blade, cache tags, and public-output safety tests | Move data loading out of Blade and rerun the package public-output tests |
Upgrading
Section titled “Upgrading”Read CHANGELOG.md before upgrading.
Unreleased: Upgrade notes
Section titled “Unreleased: Upgrade notes”- Run Core’s migrations so
capell_inbound_webhook_eventsexists, 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_limitnow applies per sending address across every profile, instead of per profile and address.ValidateProviderWebhookSignatureActionandProviderWebhookControllerare removed.TracksProcessedProviderWebhooksis 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 inX-Capell-Email-Studio-Timestampand the signature inX-Capell-Email-Studio-Signature. Requests signed over the body alone, or sent without the timestamp header, are rejected. Requests more thanwebhook_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.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Worked extension examples
- Admin guide
- API and extension points
- Database and schema reference
- Configuration files:
config/capell-email-studio.php. - Troubleshooting
- Developer reference
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: Campaign Studio, Form Builder, Insights, Mail Log.