handle gmail alerts.