my bad not a function, we need to catch system.exception and then check exception is related to move email or not