anchor.diff:  
       update_table(),
   
  +    % user event hooks
  +    ejabberd_hooks:add(remove_user, Host, ?MODULE, user_removed, 50),
  +    ejabberd_hooks:add(register_user, Host, ?MODULE, user_registered, 50),
  +
  +    % ad-hoc hooks
       ejabberd_hooks:add(adhoc_local_items, Host,
                          ?MODULE, private_email_items, 50),
       ejabberd_hooks:add(adhoc_local_commands, Host,
  
positive.code:         mnesia:delete({private_email, {User, Server}})
      end,
      mnesia:transaction(F).
  
  %
  % Ad-Hoc commands
  
negative.code:         get_email/1,
          delete_email/1,
  
          % User events
          user_removed/2,
          user_registered/2,
  
          % Ad-hoc commands
          private_email_items/4,
          private_email_commands/4
  