input: Write a python function to send automated email notifications to customers when their orders have been delivered. 
  assert send_notification('customer1@example.com')==None
  assert send_notification('customer2@example.com')==None
output: def send_notification(email):
      import smtplib
      from email.mime.multipart import MIMEMultipart
      from email.mime.text import MIMEText
      
      sender_email = "your_email@example.com"
      sender_password = "your_password"
      subject = "Your Order has been Delivered"
      body = "Dear Customer, your order has been successfully delivered. Thank you for shopping with us!"
      
      msg = MIMEMultipart()
      msg['From'] = sender_email
      msg['To'] = email
      msg['Subject'] = subject
      msg.attach(MIMEText(body, 'plain'))
      
      try:
          server = smtplib.SMTP('smtp.example.com', 587)  # Update with appropriate SMTP server and port
          server.starttls()
          server.login(sender_email, sender_password)
          text = msg.as_string()
          server.sendmail(sender_email, email, text)
          server.quit()
          print(f"Email sent to {email}")
      except Exception as e:
          print(f"Failed to send email to {email}: {str(e)}")