<?xml version="1.0"?>
<list string="Emails">
                    <header>
                        <button name="action_retry" string="Retry" type="object"/>
                    </header>
                    <field name="date"/>
                    <field name="subject"/>
                    <field name="author_id" string="User"/>
                    <field name="message_id" column_invisible="True"/>
                    <field name="recipient_ids" column_invisible="True"/>
                    <field name="model" column_invisible="True"/>
                    <field name="res_id" column_invisible="True"/>
                    <field name="email_from" column_invisible="True"/>
                    <field name="message_type" column_invisible="True"/>
                    <field name="state" widget="badge" decoration-muted="state in ('sent', 'cancel')" decoration-info="state=='outgoing'" decoration-danger="state=='exception'"/>
                    <button name="send" string="Send Now" type="object" icon="fa-paper-plane" invisible="state != 'outgoing' or message_type == 'user_notification'"/>
                    <button name="mark_outgoing" string="Retry" type="object" icon="fa-repeat" invisible="state not in ('exception', 'cancel')"/>
                    <button name="cancel" string="Cancel Email" type="object" icon="fa-times-circle" invisible="state != 'outgoing'"/>
                </list>
            