{{__mc('Send email') }}
@if ($automation_mail_id)
@php($automationMail = \Spatie\Mailcoach\Mailcoach::getAutomationMailClass()::find($automation_mail_id))
@if ($automationMail)
{{ optional($automationMail)->name }}
@endif
@endif
@if (! $mailOptions)
{!! __mc('You need to create an automation email before you can send an email.', [
'url' => route('mailcoach.automations').'#create-automation-mail'
]) !!}
@else
@endif