need help on a project for my end of training report please

Hi everybody
I'm doing an arduino project on home automation monitoring
with a motion detection and intrusion message with gsm I block at the level of sending images in my e-mail, ie I would like to be able to program such that when an image is saved in a folder the computer plugged into a wifi connection and then automatically send the images of the said file by email automatically.

please help me

Gsm alarm system , Arduino gsm Alarm, Arduino gsm pir, arduino gsm pir sensor,pir gsm alarm, pir gsm[via torchbrowser.com]

code python
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from email.mime.base import MIMEBase
from email import encoders

email_user = 'youngvivio@gmail.com'
email_send = 'youngvivio@gmail.com'
subject = 'intrusion'

msg = MIMEMultipart()
msg['From'] = email_user
msg['To'] = email_send
msg['subject'] = subject

body = 'hi is young vivio!'
msg.attach(MIMEText(body,'plain'))

filename = 'monkam.JPG'
attachment =open('monkam.JPG','rb')

part = MIMEBase('application','octet-stream')
part.set_payload((attachment).read())
encoders.encode_base64(part)
part.add_header('Content-Disposition',"attachment; filename="+filename)

msg.attach(part)
text = msg.as_string()
server = smtplib.SMTP('smtp.gmail.com',587)
server.starttls()
server.login(email_user,"karim30071995@")

server.sendmail(email_user,email_send,text)
server.quit()

thank you

Youngvivio:
please help me

Your question seems to be about a PC program (using Python). This Forum is for problems with the Arduino part of projects.

Also your question is not very clear. It should be perfectly possible to write a Python program to monitor a folder on your PC and if it detects that a new image file has been added (by some other program) it sends a message.

...R