Add case number to case assignment email

Creating the new case number in step 2 shouldnā€™t cause any issue, and would fix the bugs where case number does not exist yet - causing notification emails with no case numbers!

  1. Receives an Email in an inbox marked as ā€œauto create caseā€
  1. Creates a Case and copies some details from the Email into it.
  1. Looks for Account(s) that match the email sender, sets the Case creator to be the first of those Accounts
  1. Side-effect of the above: a case assignment notification email is sent to the user to whom the Account is assigned

ā€¦

I donā€™t recall exactly (and canā€™t test right now) but I think the number is created, the problem is that the way one code calls the other, hooks, etc, at some point weā€™re not using the same bean we were using originally, but the one in the database gets referenced, and it is incomplete at that point (in the middle of the save).