input: Write a function to send automated emails to a list of recipients. The function should take a list of email addresses as input, iterate over the list, and send an email to each address using the provided email and password.
  assert automated_email(["email1@example.com", "email2@example.com"]) == None
  assert automated_email(["test@example.com"]) == None
output: import smtplib
  from email.mime.text import MIMEText
  from email.mime.multipart import MIMEMultipart
  
  def automated_email(recipients):
      sender_email = "your_email@example.com"
      sender_password = "your_password"
      subject = "Automated Email"
      body = "This is an automated email."
  
      for recipient in recipients:
          message = MIMEMultipart()
          message['From'] = sender_email
          message['To'] = recipient
          message['Subject'] = subject
          message.attach(MIMEText(body, 'plain'))
  
          with smtplib.SMTP('smtp.example.com', 587) as server:
              server.starttls()
              server.login(sender_email, sender_password)
              server.sendmail(sender_email, recipient, message.as_string())