added override for mail params