Trying to connect it to Next Auth and doesn't send email

Trying to connect it to Next Auth and doesn't send email

  1. EmailProvider({
  2.       server: 'smtp.zoho.com',
  3.       port: 587, //I have tried also port 465
  4.       auth: {
  5.         user: '<<theuseremail>>@zohomail.com', //I have also used the gmail login email and nothing
  6.         pass: 'Qyc2y31WAymM', //this password is an app specific password. I tried the account password, but does not work
  7.       },
  8.       from: '<<theuseremail>>@zohomail.com',
  9.     }),

What am I doing wrong?