Fixed 'used from_address before defined' when mail source is set