mail = params[:mail]
recipients = mail[:from]
subject = mail[:subject]
That saves you some typing.
But if you want to put your hash variables in local variables, then
you can't. Well, actually, you can, by using eval. But that's very,
VERY evil and will open the infinite floodgate of security problems.