namespace Features.Emails.Services;
///
/// Defines operations for sending account-related emails, such as registration and confirmation resend emails.
///
public interface IEmailDispatcher
{
///
/// Sends a welcome email containing an account confirmation link to a newly registered user.
///
/// The recipient's first name, used to personalize the email.
/// The recipient's email address.
/// The confirmation token to embed in the confirmation link.
/// A task that completes once the email has been sent.
Task SendRegistrationEmailAsync(string firstName, string email, string confirmationToken);
///
/// Sends an email containing a fresh account confirmation link to a user who requested a resend.
///
/// The recipient's first name, used to personalize the email.
/// The recipient's email address.
/// The confirmation token to embed in the confirmation link.
/// A task that completes once the email has been sent.
Task SendResendConfirmationEmailAsync(string firstName, string email, string confirmationToken);
}