Email on button click

Hello everyone, I have imported Email module with template with its other dependencies. I want to send email on button click. I have an entity with name, endDate, isSent, title, message as attributes. On clicking of my button, if my endDate is current day then email for those should be sent. Can anyone please help me on how can I configure this using email with template module and what microflow should I use for this?
0 answers