If set, this category is added to mail_storage.event.
MAIL_FETCH_IMAP_BODYSTRUCTURE from the remote server. Adding fields
here avoids adding them to index_mail_data.access_part. */
enum mail_fetch_field nonbody_access_fields;
+ struct event_category *event_category;
struct mail_storage_vfuncs v, *vlast;
storage->set = ns->mail_set;
storage->flags = flags;
storage->event = event_create(ns->user->event);
+ if (storage_class->event_category != NULL)
+ event_add_category(storage->event, storage_class->event_category);
p_array_init(&storage->module_contexts, storage->pool, 5);
if (storage->v.create != NULL &&