Hello I'm using nodemailer with next, I'm trying to include an image in the email but keep getting this error
err: [Error: ENOENT: no such file or directory, open '/images/welcome.png'] {
errno: -2,
code: 'ESTREAM',
syscall: 'open',
path: '/images/welcome.png',
command: 'API'
}
any idea how can I successfully include image in one the Next /api routes?