{% extends "admin/base_site.html" %} {% load i18n admin_urls static admin_modify %} {% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

{{ title }}

Simulate an incoming email to {{ agent.name }}

This will create a new inbound message that the agent can process. After submitting, you can trigger event processing to see the agent's response.

{% csrf_token %}

The email address of the person sending the message to the agent.

Email subject line (optional).

The content of the email message.

Optional. Select one or more files to include as attachments.

Current Agent Configuration

Agent Name: {{ agent.name }}
User: {{ agent.user.email }}
Charter: {{ agent.charter|truncatewords:20 }}
Is Active: {{ agent.is_active|yesno:"Yes,No" }}
Email Endpoints: {% for endpoint in agent.comms_endpoints.all %} {% if endpoint.channel == "email" %} {{ endpoint.address }}{% if endpoint.is_primary %} (primary){% endif %}
{% endif %} {% empty %} No email endpoints configured {% endfor %}
{% endblock %} {% block extrahead %} {{ block.super }} {% endblock %}