Update: get this with `brew reinstall php55 --with-imap`