when sending an email from the commandline, wait long enough for it to be sent.
resolves #24