input: def create_celery_task_send_email():
      """
      Create a Celery task in Python to send an email.
      >>> create_celery_task_send_email()
      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)
      """
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)