Test setting mail