edit get except smtp reply code, exceptions, os.path.join