Setup email form modal and send functions.