simple script for checking emails