Command line option parser and email support