Send OTP
To send the OTP to the user, use the following method:
import { sendEmail } from "no-secreto";
const sendEmailToUser = sendEmail("users@emailId.com");
The function returns true and logs nodemailer response if the email is sent successfully.
Turn off console logging
import { turnOffEmailConsole } from "no-secreto";
turnOffEmailConsole();