get email form working