Python script to validate email addresses.