in reply to receiving email message with an attachment.

If you don't want to die, maybe don't call die in the first place?