<?php
require_once __DIR__ . '/../../includes/email.php';

try {
    sendBankNotification(
        $chap,
        'Security Notification',
        $name ?? 'Valued Customer',
        'Security Alert',
        $body
    );
} catch (Exception $e) {
    error_log('Email send failed: ' . $e->getMessage());
}
