<?php

$inputRules = [
    "email" => ["required" => true, "validate" => ["filter" => FILTER_VALIDATE_EMAIL]],
];

if (__RB_validateInput($inputRules, 'newsletter_unsubscribe')) {
    $__RB_success['newsletter_unsubscribe'] = true;
}

