i am writing a code which changes the mail setting configuration during runtime but i just can\'t get it to work while using queue to send mail after api success and the app