Add sample configuration for GMail
Fix invalid socket type fo outgoing server