So guys, i have the following code:
import win32com.client as win32
outlook = win32.Dispatch('outlook.application')
email = outlook.CreateItem(0)
Image = "########"
email.To = "#######"
email.Subject = "Test of auto email"
email.HTMLBody = f"""<p>Hello world<p>"""
email.Attachments.Add(Image)
email.Send()
print("Email sent")
And would like to know how i insert it in alteryx? some peeps said i could work with python inside alteryx but this tool is kind of confusing to me