r</th>
                            <th>Subject</th>
                            <th>Received</th>
                            <th>Status</th>
                            <th>Photos</th>
                            <th>Response</th>
                            <th>Error</th>
                        </tr>
                    </thead>
                    <tbody>
                        {% for log in email_logs %}
                        <tr class="email-log" data-status="{{ log.status }}">
                    