fixed error in cron gmail plugin