using Coravel.Mailer.Mail; namespace Foxnouns.Backend.Mailables; public class AccountCreationMailable(Config config, AccountCreationMailableView view) : Mailable { public override void Build() { To(view.To).From(config.EmailAuth.From!).View("~/Views/Mail/AccountCreation.cshtml", view); } } public class AccountCreationMailableView : BaseView { public required string Code { get; init; } }