How to resolve the Gmail error and Gmail not working issues?