def METHOD_NAME(app):
  """Add routes to the given flask app for email handlers."""
  app.add_url_rule(
      '/tasks/outbound-email', view_func=handle_outbound_mail_task,
      methods=['POST'])
  app.add_url_rule('/_ah/bounce', view_func=handle_bounce, methods=['POST'])
  app.add_url_rule(
      '/_ah/mail/<string:addr>', view_func=handle_incoming_mail, methods=['POST'])