Add option to choose whether to send a reg confirmation email
Fix Optional handling