Version 0.1 - refactored to use promises and added command line options

Hrm- Maybe you want $EMAIL here too in a fallback ? (I think that is somewhat common)