You SHOULD NOT create any EmailArchitectObjects object instances in server filter except Tools object.
In SVR_FILTER_INBOUND, SVR_FILTER_OUTBOUND and SVR_FILTER_INBOX notifications of server filter, EAS passes a ServerRoot and Mail to SvrFilterProc function.
ServerRoot object instance in filter has "system" user security context, you can use it to access all information and settings in EAS. Mail object instance represents current message, you can get all information of current message such as subject, bodytext and etc...
Note: Do not invoke Connect, OpenSession, Su and Close methods of ServerRoot in server filter.
To learn more about EmailArchitectObjects, please click here.