making arguments for mail function default to NULL