Google Apps Script that reads your inbox and replies to all threads depending on certain criterias