python imaplib: search emails with specific subject By Ricardo MallaApril 15, 2021uncategorized result, numbers = mail.uid('search', None, '(SINCE "' + date_start + '" BEFORE "' + date_end + '") (SUBJECT "Failure")')