created helper method email_pattern for the find_patterns method to keep it small and seperate responsibility