Mail Log reference
Developer reference for capell-app/mail-log. Start with the README for what the extension does and how to install it.
Package Details
Section titled “Package Details”Mail Log is an Available Capell package in the Capell Operations product group. It ships as capell-app/mail-log and extends these surfaces: admin.
- Status: Available
- Tier: free
- Bundle: operations
- Composer package:
capell-app/mail-log - Namespace:
Capell\MailLog - Theme key: not applicable
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\MailLog\Providers\MigrationMetadataServiceProviderCapell\MailLog\Providers\MailLogServiceProviderCapell\MailLog\Providers\AdminServiceProvider
Config files
Section titled “Config files”packages/mail-log/config/mail-log.php
Migrations
Section titled “Migrations”packages/mail-log/database/migrations/2026_11_22_000001_create_mail_log_tables.phppackages/mail-log/database/migrations/2026_11_23_000001_create_outbound_message_sources_table.phppackages/mail-log/database/migrations/2026_11_23_000002_create_outbound_message_breaker_tables.phppackages/mail-log/database/migrations/2026_11_23_000100_add_provider_events_and_suppressions.phppackages/mail-log/database/migrations/2026_11_24_000001_add_fallback_columns_to_mail_log_entries.phppackages/mail-log/database/migrations/2026_11_24_000100_add_source_health_monitoring.phppackages/mail-log/database/migrations/2026_11_25_000001_add_recipient_hashes_to_held_messages.php
Settings migrations
Section titled “Settings migrations”packages/mail-log/database/settings/2026_11_22_000002_add_mail_log_settings.php
Settings classes
Section titled “Settings classes”MailLogSettings
Models
Section titled “Models”MailLogEntryMailLogRecipientMailSuppressionOutboundHeldMessageOutboundMessageBreakerOutboundMessageSource
Filament classes
Section titled “Filament classes”SpamComplaintsPageMailLogEntryResourceListMailLogEntriesViewMailLogEntryMailLogEntryInfolistMailLogEntriesTableOutboundHeldMessageResourceListOutboundHeldMessagesOutboundMessageSourceResourceListOutboundMessageSourcesMailLogSettingsSchema
Route files
Section titled “Route files”packages/mail-log/routes/webhooks.php
Policies
Section titled “Policies”MailLogEntryPolicyOutboundHeldMessagePolicyOutboundMessageSourcePolicy
Extension contracts
Section titled “Extension contracts”RecipientSuppressionList
Listeners
Section titled “Listeners”ApplyEngagementTrackingListenerCaptureOutboundNotificationListenerCloseUnconfirmedMailListenerRecordSendingMailListenerRecordSentMailListenerSkipSuppressedRecipientsListener
Actions
Section titled “Actions”AlertAdminsOfHeldOutboundMessagesActionApplyMailProviderEventActionApplyPostmarkMailEventActionBuildMailHealthDigestActionBuildMailLogPrivacyExportActionBuildOutboundMessageHealthActionCaptureOutboundMessageActionDiscardHeldOutboundMessagesActionEraseMailLogPrivacyDataActionEvaluateOutboundMessageHealthActionMarkMailSentActionMarkOutboundMessageSourceReviewedActionMarkUnconfirmedMailFailedActionNotifyAdminsOfNewOutboundMessageActionNotifyAdminsOfSourceHealthActionPurgeMailLogActionRecordMailFallbackActionRecordOutgoingMailActionReleaseHeldOutboundMessagesActionRenderMailHealthDigestSectionActionResolveMailLogSettingsActionResolveMailLogSubjectHashesActionResolveOutboundMessageSourceActionSetOutboundMessageBreakerActionSetOutboundMessageSourceEngagementActionSetOutboundMessageSourceHealthThresholdsActionSuppressMailRecipientsActionSyncOutboundMessageCatalogueActionUpdateOutboundMessageBaselinesAction
Data objects
Section titled “Data objects”MailHealthDigestDataMailLogPurgeResultDataMailLogSettingsDataMailProviderEventDataOutboundMessageSourceHealthDataPostmarkMailEventData
Command signatures
Section titled “Command signatures”capell:mail-log-breaker-baselinescapell:mail-log-discovercapell:mail-log-healthcapell:mail-log-prune
Manifest action API
Section titled “Manifest action API”alertAdminsOfHeldOutboundMessages: Capell\MailLog\Actions\AlertAdminsOfHeldOutboundMessagesActionapplyMailProviderEvent: Capell\MailLog\Actions\ApplyMailProviderEventActionapplyPostmarkMailEvent: Capell\MailLog\Actions\ApplyPostmarkMailEventActionbuildMailHealthDigest: Capell\MailLog\Actions\BuildMailHealthDigestActionbuildMailLogPrivacyExport: Capell\MailLog\Actions\BuildMailLogPrivacyExportActionbuildOutboundMessageHealth: Capell\MailLog\Actions\BuildOutboundMessageHealthActioncaptureOutboundMessage: Capell\MailLog\Actions\CaptureOutboundMessageActiondiscardHeldOutboundMessages: Capell\MailLog\Actions\DiscardHeldOutboundMessagesActioneraseMailLogPrivacyData: Capell\MailLog\Actions\EraseMailLogPrivacyDataActionevaluateOutboundMessageHealth: Capell\MailLog\Actions\EvaluateOutboundMessageHealthActionmarkMailSent: Capell\MailLog\Actions\MarkMailSentActionmarkOutboundMessageSourceReviewed: Capell\MailLog\Actions\MarkOutboundMessageSourceReviewedActionmarkUnconfirmedMailFailed: Capell\MailLog\Actions\MarkUnconfirmedMailFailedActionnotifyAdminsOfNewOutboundMessage: Capell\MailLog\Actions\NotifyAdminsOfNewOutboundMessageActionnotifyAdminsOfSourceHealth: Capell\MailLog\Actions\NotifyAdminsOfSourceHealthActionpurgeMailLog: Capell\MailLog\Actions\PurgeMailLogActionrecordOutgoingMail: Capell\MailLog\Actions\RecordOutgoingMailActionreleaseHeldOutboundMessages: Capell\MailLog\Actions\ReleaseHeldOutboundMessagesActionrenderMailHealthDigestSection: Capell\MailLog\Actions\RenderMailHealthDigestSectionActionresolveMailLogSettings: Capell\MailLog\Actions\ResolveMailLogSettingsActionresolveMailLogSubjectHashes: Capell\MailLog\Actions\ResolveMailLogSubjectHashesActionresolveOutboundMessageSource: Capell\MailLog\Actions\ResolveOutboundMessageSourceActionsetOutboundMessageBreaker: Capell\MailLog\Actions\SetOutboundMessageBreakerActionsetOutboundMessageSourceEngagement: Capell\MailLog\Actions\SetOutboundMessageSourceEngagementActionsetOutboundMessageSourceHealthThresholds: Capell\MailLog\Actions\SetOutboundMessageSourceHealthThresholdsActionsuppressMailRecipients: Capell\MailLog\Actions\SuppressMailRecipientsActionsyncOutboundMessageCatalogue: Capell\MailLog\Actions\SyncOutboundMessageCatalogueActionupdateOutboundMessageBaselines: Capell\MailLog\Actions\UpdateOutboundMessageBaselinesAction
Scheduled commands
Section titled “Scheduled commands”capell:mail-log-breaker-baselines (hourly; package registered)capell:mail-log-discover (daily; package registered)capell:mail-log-health (hourly; package registered)capell:mail-log-prune (daily; package registered)
Console command classes
Section titled “Console command classes”DiscoverOutboundMessagesCommandEvaluateOutboundMessageHealthCommandPruneMailLogCommandUpdateOutboundMessageBaselinesCommand
Manifest contributions
Section titled “Manifest contributions”admin-page: Capell\MailLog\Manifest\MailLogAdminPageContributionadmin-resource: Capell\MailLog\Manifest\MailLogAdminResourcesContributionconsole-command: Capell\MailLog\Manifest\MailLogConsoleCommandsContributionhealth-check: Capell\MailLog\Manifest\MailLogHealthContributionmodel: Capell\MailLog\Manifest\MailLogModelsContributionpermission: Capell\MailLog\Manifest\MailLogPermissionsContributionroute: Capell\MailLog\Manifest\MailLogRoutesContributionscheduled-job: Capell\MailLog\Manifest\MailLogBreakerBaselineScheduleContributionscheduled-job: Capell\MailLog\Manifest\MailLogDiscoverScheduleContributionscheduled-job: Capell\MailLog\Manifest\MailLogHealthScheduleContributionscheduled-job: Capell\MailLog\Manifest\MailLogPurgeScheduleContributionsetting: Capell\MailLog\Manifest\MailLogSettingsContribution
Health checks
Section titled “Health checks”Capell\MailLog\Health\MailLogHealthCheck
Blade views
Section titled “Blade views”packages/mail-log/resources/views/digest/section.blade.php
Data Model
Section titled “Data Model”- Required tables:
mail_log_entries,mail_log_recipients,outbound_message_sources,outbound_held_messages,outbound_message_breakers,mail_log_suppressions. - Models:
MailLogEntry,MailLogRecipient,MailSuppression,OutboundHeldMessage,OutboundMessageBreaker,OutboundMessageSource. - Migration files:
2026_11_22_000001_create_mail_log_tables.php,2026_11_23_000001_create_outbound_message_sources_table.php,2026_11_23_000002_create_outbound_message_breaker_tables.php,2026_11_23_000100_add_provider_events_and_suppressions.php,2026_11_24_000001_add_fallback_columns_to_mail_log_entries.php,2026_11_24_000100_add_source_health_monitoring.php,2026_11_25_000001_add_recipient_hashes_to_held_messages.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: migrations declare cascade-on-delete relationships; retention is scheduled through
capell:mail-log-prune(daily; registered by the package provider).