Mail.cs: separate regex as a method