Cannot send e-mail notifications SMTPAuthenticationError all the time

Hey guys i don't know if this problem already discussed? but i have the problem with email notification in logstash here is the error:
[2024-07-19T13:37:58,836][ERROR][logstash.outputs.email ][main][aa5c77b7a64207e316fd81b753b0305544fc89204da461fc38faf1fb3b39ff59] Something happen while delivering an email {:exception=>#<Net::SMTPAuthenticationError: Net::SMTPAuthenticationError>}
and down below is my logstash config file:

input {
file {
type => "json"
codec => "json"
path => "/var/log/kibana/kibana.log"
start_position => beginning
}
}
filter {
grok {
match => {
"message" => "Server log: - AlertName: %{DATA:alertName};- MonitorName: %{DATA:monitorName};- Reason: %{DATA:reason};- LastErrorMessage: %{DATA:lastErrorMessage};---"
}
}
}
output {
if[log][level] == "ERROR" {
email {
to => "someone@somedomain.com"
from => "123@somedomain.com"
subject => "Alert: %{alertName} - %{monitorName}"
body => "Reason:\n%{reason}\n\nLast Error Message:\n%{lastErrorMessage}\n\nRaw Message:%{message}"
address => "ip or domain"
port => 465
use_tls => true i have ssl but i don`t know how to enable it
username => "123@somedomain.com"
password => "*******"
}
stdout {
codec => line {
format => "%{message}"
}
}
}
}