input: from typing import List
  
  
  def send_email_celery_task(recipient_name: str, recipient_email: str, subject: str, message: str) -> str:
      """ Create a Celery task to send an email with the given details.
      >>> send_email_celery_task('John Smith', 'john@example.com', 'Hello World', 'This is a test email.')
      'from celery import Celery\\nfrom flask_mail import Message\\n\\napp = Celery(\\'tasks\\', backend=\\'redis://localhost\\')\\n\\n@app.task\\ndef send_email(recipient_name, recipient_email, subject, message):\\n    msg = Message(subject, sender=\\'example@example.com\\', recipients=[recipient_email])\\n    msg.body = message\\n    mail.send(msg)\\n'
      """
output:     from celery import Celery
      from flask_mail import Message
  
      app = Celery('tasks', backend='redis://localhost')
  
      @app.task
      def send_email(recipient_name, recipient_email, subject, message):
          msg = Message(subject, sender='example@example.com', recipients=[recipient_email])
          msg.body = message
          mail.send(msg)
  
      return "from celery import Celery\nfrom flask_mail import Message\n\napp = Celery('tasks', backend='redis://localhost')\n\n@app.task\ndef send_email(recipient_name, recipient_email, subject, message):\n    msg = Message(subject, sender='example@example.com', recipients=[recipient_email])\n    msg.body = message\n    mail.send(msg)\n"