Brand host alert emails with the organization logo.
Deploy Ladill Frontdesk / deploy (push) Successful in 51s

Wrap Frontdesk Bird host notifications in the customer-branded email layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-12 20:07:48 +00:00
co-authored by Cursor
parent ac33bbf440
commit bc53ff206b
4 changed files with 171 additions and 1 deletions
@@ -13,6 +13,7 @@ use App\Notifications\FrontdeskAlertNotification;
use App\Services\Messaging\CustomerEmailClient;
use App\Services\Messaging\CustomerSmsClient;
use App\Services\Messaging\MessagingCredentialsService;
use App\Support\OrganizationBranding;
use Illuminate\Support\Facades\Log;
class NotificationDispatcher
@@ -218,7 +219,7 @@ class NotificationDispatcher
]);
} else {
try {
$html = nl2br(e($message));
$html = OrganizationBranding::wrapEmailHtml(nl2br(e($message)), $organization);
$sent = $this->customerEmail->send(
$apiKey,
(string) $credential->bird_from_email,