Fixed syntax for LSUB and LIST in IMAP, also added a mail() in SMTP