Don't know what happened to my post......so I'm posting again'
You have a 'combo electric/propane' Atwood WH which uses an aluminum tank hence the Nylon drain plug.......so aluminum threads don't strip/nylon one do
Aluminum clad tank (aluminum/zinc cladding) does NOT require an anode rod (Suburban Steel Tank does)
Cold inlet/Bypass valve
It is a 3-way valve. Current position in picture allows cold water into the WH Tank (handle parallel with cold water supply line)
Turn valve 1/4 Turn and cold water flows to hot outlet line 'BYPASS' WH Tank
Hot outlet has a 'check valve' in fitting on tank to stop backflow into tank
Behind the cold/bypass valve is a black protective cover.
Under that cover is the electric element and DC Relay
WH uses SAME set of t-stat/ECO for temp controls
140*F t-stat for normal heating cycles & 180*F ECO (energy cut off---hi temp t-stat) that triggers RED Fault Light on switch panel
AS for filling leak.........haven't a clue. But you should ID and fix/replace.
Water is an RV KILLER