using SharepointToolbox.Web.Core.Models;
namespace SharepointToolbox.Web.Services.Reports;
/// Sends a generated report as a Graph email (app-only, Mail.Send).
public interface IReportMailService
{
///
/// Sends as an attachment to the recipients in
/// , sending AS .
/// Subject/body placeholders are resolved from the schedule and client.
///
Task SendAsync(
TenantProfile profile,
ScheduledReport schedule,
ReportEmailSettings settings,
string fileName,
string mime,
byte[] bytes,
CancellationToken ct = default);
}