PHP imap Mail Class