@using BTCPayServer.HostedServices.Webhooks @model BTCPayServer.Controllers.UIStoresController.StoreEmailRuleViewModel @inject WebhookSender WebhookSender @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePage(StoreNavPages.Emails, "Email Rules", Context.GetStoreData().Id); } @section PageHeadContent { }

@ViewData["Title"]

@if (Model.Rules.Any()) { }
@if (!ViewContext.ModelState.IsValid) {
} else {

Email rules allow BTCPay Server to send customized emails from your store based on events.

} @if (Model.Rules.Any()) { } else {

There are no rules yet.

}
@section PageFootContent { }