updated pattern to email