public static function i($connection = '') { if (!isset(self::$instance)) { list($host, $email, $password) = explode('~', $connection); debug::output("Starting Connection to {$email} ({$host})"); self::$instance = new imap(); self::$instance->connect($host, $email, $password); } return self::$instance; }