input: from typing import List
  
  def send_automated_email(recipient_emails: List[str], sender_email: str, password: str) -> None:
      """
      Send an automated email to each email address in the recipient_emails list.
      >>> send_automated_email(["email1@example.com","email2@example.com"], 'example@gmail.com', 'example_password')
      Email sent successfully.
      Email sent successfully.
      """
output:     import smtplib
      from email.mime.text import MIMEText
      from email.mime.multipart import MIMEMultipart
  
      subject = "Automated Email"
      body = "This is an automated email sent to you."
  
      for recipient in recipient_emails:
          msg = MIMEMultipart()
          msg['From'] = sender_email
          msg['To'] = recipient
          msg['Subject'] = subject
          msg.attach(MIMEText(body, 'plain'))
  
          with smtplib.SMTP('smtp.gmail.com', 587) as server:
              server.starttls()
              server.login(sender_email, password)
              server.sendmail(sender_email, recipient, msg.as_string())
          
          print("Email sent successfully.")