fix query to add index to vtiger_email_access