Index: app/models/mail_handler.rb
===================================================================
--- app/models/mail_handler.rb	(revision 3558)
+++ app/models/mail_handler.rb	(working copy)
@@ -127,6 +127,7 @@
     end
     
     issue = Issue.new(:author => user, :project => project, :tracker => tracker, :category => category, :priority => priority)
+    Redmine::Hook.call_hook(:model_mail_handler_before_save, { :issue => issue, :mailhandler => self })
     # check workflow
     if status && issue.new_statuses_allowed_to(user).include?(status)
       issue.status = status
@@ -239,6 +240,7 @@
     end
   end
   
+  public
   def get_keyword(attr, options={})
     @keywords ||= {}
     if @keywords.has_key?(attr)
@@ -254,6 +256,7 @@
     end
   end
   
+  private
   # Returns the text/plain part of the email
   # If not found (eg. HTML-only email), returns the body with tags removed
   def plain_text_body
