Autoupdate email hook correction

auto update email hook correction