Digital box mods for e-cigarettes