Purges the config file of unnecessary Gmail credentials.
Better logging.