input: def send_automated_emails(recipient_emails: List[str]) -> None:
      """ Send automated emails to a list of recipient emails.
      The function uses SMTP to connect to a Gmail server and sends an email to each address in the list.
      >>> send_automated_emails(["email1@example.com","email2@example.com"])
      Email sent successfully.
      Email sent successfully.
      """
output:     import smtplib
      from email.mime.text import MIMEText
      from email.mime.multipart import MIMEMultipart
  
      sender_email = "your_email@gmail.com"
      sender_password = "your_password"
      subject = "Automated Email"
      body = "This is an automated email sent using Python."
  
      for email in recipient_emails:
          message = MIMEMultipart()
          message["From"] = sender_email
          message["To"] = email
          message["Subject"] = subject
          message.attach(MIMEText(body, "plain"))
  
          with smtplib.SMTP("smtp.gmail.com", 587) as server:
              server.starttls()
              server.login(sender_email, sender_password)
              server.sendmail(sender_email, email, message.as_string())
          
          print("Email sent successfully.")