feat(application): register AutoMapper mappings for new commands and add SendAndAppend to IImapEmailService

This commit is contained in:
2026-08-17 10:15:13 +02:00
parent f7e95eb7f7
commit 822c7b1352
2 changed files with 19 additions and 0 deletions

View File

@@ -37,5 +37,14 @@ public interface IImapEmailService
/// <param name="folder"></param>
/// <returns></returns>
DateTime? GetLastImapSyncDate(int accountId, string folder = "INBOX");
/// <summary>
/// Sends an email via SMTP using the account credentials and appends the sent message
/// to the account's IMAP Sent Items folder.
/// </summary>
Task SendAndAppendAsync(
EmailContext context,
string sentFolder = "Sent",
CancellationToken cancellationToken = default);
}
#endif