public static function create($gateway = null)
    {
        $email_gateway_manager = new EmailGatewayManager;

        if ($gateway) {
            return $email_gateway_manager->create($gateway);
        } else {
            return $email_gateway_manager->create($email_gateway_manager->getDefaultGateway());
        }
    }