Minor optimization at the level of source code for a new ticket by mail.

Hi,

`From' of e-mail is analyzed twice in source code for a new ticket by mail.
This PR improves that.

Regards,
Norihiro