added arg parsing, max email cap, and download progress bar