Personally I'd write it off. I've saved a few flood cars over the years and some worked out ok. (82 911) and some were not worth a damn. (94 s320). The electronics is the E will be very unhappy and unless 90% of the modules and the body harness is replaced, its never going to be right.
Sorry to hear about it happeneing, that sucks.
Joe