Turning on reply_to_author option cause undefined local variable or method `result'

Hi, Like it is described in subject, when I've turned on reply_to_author option, sending email fails. The reason is that result is not available before diff extraction. Please consider pulling up my fix.

Cheers, Arek