def METHOD_NAME():
  """Task to send a notification email to one recipient."""
  require_task_header()
  to = get_param(flask.request, 'to')
  from_user = get_param(flask.request, 'from_user', required=False)
  subject = get_param(flask.request, 'subject')
  email_html = get_param(flask.request, 'html')
  references = get_param(flask.request, 'references', required=False)
  reply_to = get_param(flask.request, 'reply_to', required=False)
  if settings.SEND_ALL_EMAIL_TO and to != settings.REVIEW_COMMENT_MAILING_LIST:
    to_user, to_domain = to.split('@')
    to = settings.SEND_ALL_EMAIL_TO % {'user': to_user, 'domain': to_domain}
  sender = 'Chromestatus <admin@%s.appspotmail.com>' % settings.APP_ID
  if from_user:
    sender = '%s via Chromestatus <admin+%s@%s.appspotmail.com>' % (
        from_user, from_user, settings.APP_ID)
  message = mail.EmailMessage(
      sender=sender, to=to, subject=subject, html=email_html)
  if reply_to:
    message.reply_to = reply_to
  message.check_initialized()
  if references:
    message.headers = {
        'References': references,
        'In-Reply-To': references,
    }
  logging.info('Will send the following email:\n')
  logging.info('Sender: %s', message.sender)
  logging.info('To: %s', message.to)
  logging.info('Subject: %s', message.subject)
  if reply_to:
    logging.info('Reply-To: %s', message.reply_to)
  logging.info('References: %s', references or '(not included)')
  logging.info('In-Reply-To: %s', references or '(not included)')
  logging.info('Body:\n%s', message.html[:settings.MAX_LOG_LINE])
  if settings.SEND_EMAIL:
    message.send()
    logging.info('Email sent')
  else:
    logging.info('Email not sent because of settings.SEND_EMAIL')
  return {'message': 'Done'}