Email Post: The immersed boundary method for advection-electrodiffusion with implicit timestepping and local mesh refinement