Details
Description
when the EmailProcessor.php script is run, it retrieves all folders in the email account and then looks for the ignored and processed folders using in_array. but sometimes the mailbox structure has different cases than the constructed values its looking for, which causes it to fail. it then tries to create the mailboxes but fails because they're already there.
attached patch looks for the folder with case insensitivity
the patch is for IMAP. the other account formats may need editing too – i didn't investigate