The EmailSender class I have available in Kentico code (decompiled) is the following:
using CMS.Base;
using CMS.DataEngine;
using CMS.MacroEngine;
namespace CMS.EmailEngine
{
public static class EmailSender
{
public static void SendEmail(EmailMessage message);
public static void SendEmail(string siteName, EmailMessage message, string templateName, MacroResolver resolver, bool sendImmediately);
public static void SendEmail(string siteName, EmailMessage message, bool sendImmediately = false);
public static void SendEmailWithTemplateText(string siteName, EmailMessage message, EmailTemplateInfo template, MacroResolver resolver, bool sendImmediately);
public static void SendMassEmails(EmailMessage message, string userIds, string roleIds, string groupIds, int siteId, bool sendToEveryone = false);
public static void SendTestEmail(string siteName, EmailMessage message, SMTPServerInfo smtpServer);
}
}