It would all depend on whether Lombardi really did like Mallett as much as he said - and whether he could convince other decision makers. FWIW, I don't think Mallett's getting traded now as there's no-one to plug in with experience of the system (unless Hoyer gets released).
This is a great deal by the Raiders though. a 5th rounder in 2014 and maybe a late rounder in 2015. What's to lose?