test hook email