setup several initial parameters for emails