Set the notification scheme to send email to reporter and assignee on the issue created event.
The mail handler does nothing differently to a user clicking "create" - the same event goes out to be picked up by the notification scheme.
It looks like you're new here. Sign in or register to get started.