add wait for email method

fix failing test