I am trying to implement a script and run it with Scriptrunner that sends an email using the gmail SMTP.
I tried several script examples I found online, most of them from the Atlassian Community, but none worked (I received compilation errors about missing classes).
I know that with a script one cannot send an email using the SMTP of Atlassian, as this is not a SMTP. This is why i was thinking in using the gmail SMTP.