Fix parameter order for Gmail sending