using Esg.Scheduler.App.Job;
var sendmailJob = Activate<SendmailJob>();
await sendmailJob.AutomationEventPushMessage(
"Schedule_Email_Send",
FromJson<KafkaMessage>("{\"Id\":\"75a043e5-c568-4476-8281-07fa14313515\",\"TransactionId\":\"fdd592df-d3e0-4d6e-9bce-65edae9ee974\",\"Data\":\"{\\"ToEmails\\":[\\"[email protected]\\"],\\"ToCc\\":null,\\"ToBcc\\":null,\\"Subject\\":\\"Your Appointment is Coming Up!\\",\\"Body\\":\\"\\n \\u003Cp\\u003EHi\\u003Cstrong\\u003E Krist\\u00FDna\\u003C/strong\\u003E,\\n \\u003Cbr\\u003EJust a friendly reminder about your upcoming appointment at By Hand Studio.\\n \\u003Cbr\\u003E-----\\u003Cbr\\u003E\\n Date: \\u003Cstrong\\u003E06/10/2026\\u003C/strong\\u003E\\u003Cbr\\u003E\\n Time:\\u003Cstrong\\u003E 16:00\\u003C/strong\\u003E\\u003Cbr\\u003E\\n Location: \\u003Cstrong\\u003EB\\u011Blehradsk\\u00E1 383/122, 120 00 Praha 2-Vinohrady\\u003C/strong\\u003E\\u003Cbr\\u003E\\n Service: \\u003Cstrong\\u003EPedik\\u00FAra klasick\\u00E1, Oby\\u010Dejn\\u00FD lak\\u003C/strong\\u003E\\u003Cbr\\u003E\\n Employee: \\u003Cstrong\\u003EStaff Anh\\u003C/strong\\u003E\\u003Cbr\\u003E-----\\u003Cbr\\u003E\\n If you have any questions or need to reschedule, feel free to contact us \\u003Cstrong\\u003E702866886\\n \\u003C/strong\\u003E for support. \\n We look forward to seeing you!\\u003Cbr\\u003EWarm regards,\\u003Cbr\\u003E\\u003Cstrong\\u003EBy Hand Studio\\u003C/strong\\u003E\\u003C/p\\u003E\\n \\",\\"MailSettings\\":{\\"Host\\":\\"email-smtp.ca-central-1.amazonaws.com\\",\\"Port\\":587,\\"DisplayName\\":\\"Izisalon\\",\\"MailFrom\\":\\"[email protected]\\",\\"Username\\":\\"AKIAXWMA6I7L34YWTRGC\\",\\"Password\\":\\"BGfH/rnfqIvDYaG/wwXRp\\u002BauSw0QLUJHySbFWyNmiZjs\\"},\\"TwilioSetting\\":null}\",\"SendTime\":\"2026-06-10T13:00:00Z\",\"JobEvent\":16}"));