Fix timezone warnings, remove testing code around email library