<?php

use Modules\Emails\Account;

include_once __DIR__.'/../../core.php';

if (isset($id_record)) {
    $account = Account::find($id_record);

    $record = $dbo->fetchOne('SELECT * FROM em_accounts WHERE id='.prepare($id_record).' AND deleted_at IS NULL');
}