Move curl init to after selectLanguage, so any error messages print properly.

Also rename some variables and functions for clarity.
Also set mailTimer on the mail curl handles,
which was never done before.
This feature just didn't work.