mail test theoretically working