if (FALSE) {
# select folder & search
con$select_folder(name = "INBOX")
# search for messages SENT SINCE "22-Mar-2020" OR containing the STRING
# "congratulations" in the subject.
res <- con$search(request = AND(sent_since(date_char = "22-Mar-2020"),
string(expr = "congratulations",
where = "SUBJECT")))
}
Run the code above in your browser using DataLab