Update README.md

foreach ($mailboxes and $mailbox)  to foreach ($mailboxes as $mailbox)