  </table>
            </div>
            {% else %}
            <div class="empty-state">
                <svg viewBox="0 0 24 24">
                    <path d="M20,8L12,13L4,8V6L12,11L20,6M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z"/>
                </svg>
                <h3>No Email Logs</h3>
                <p>Email processing logs will appear here once the email monitor is running and processes incoming emails.</p>
            </div>
            {% endif %}
 