mail-wget.py: Move mail() to top