Email sending, and a quick fix for the manual mode if no latitude found