<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct> 
    <module>email_log</module> 
    <table>email_log</table> 
    <dependancy>setup</dependancy> 
    <cache>0</cache> 
    <order_by>date_orig</order_by> 
    <limit>35</limit>
 	<index>
 		<ids>id,site_id,account_id</ids>
 		<email>email</email>
 		<status>html,urgent,userread</status>
 	</index>
    <field>
        <id>
            <type>I8</type> 
            <unique>1</unique>
        </id>
        <site_id>
            <type>I4</type> 
        </site_id>
        <date_orig>
            <type>I8</type> 
            <convert>date-now</convert>
        </date_orig>
        <account_id>
            <type>I4</type> 
            <validate>any</validate> 
        </account_id>
        <email>
            <type>C(128)</type> 
        </email>
        <subject>
            <type>C(128)</type> 
        </subject>
        <message>
            <type>X2</type> 
        </message>
        <html>
            <type>L</type> 
        </html>
        <urgent>
            <type>L</type> 
        </urgent>
        <userread>
            <type>L</type> 
        </userread>
     </field> 
     <method>  
        <delete>id,site_id,date_orig,account_id,email,subject,message,html,urgent,userread</delete>
        <view>id,site_id,date_orig,account_id,email,subject,message,html,urgent,userread</view>
        <search>id,site_id,date_orig,account_id,email,subject,message,html,urgent,userread</search>
     </method> 
     <trigger></trigger>
</construct>