Duplicati will use whatever port you specify in the --send-email-url parameter.
--send-email-url
The actual values you put in there will vary depending on your email provider, but you can find more about it at: