PHP code to create basic filter using IMAP functions.