Consolidated duplicate code in private method
Consolidated duplicate code in private method

CodeClimate didn't like how the mailer methods were "duplicating" how
project vars were being set. Moved that behavior to a private method to
hopefully appease it.

sreekantch/JellyFish,sreekantch/JellyFish,projectjellyfish/api,sonejah21/api,AllenBW/api,stackus/api,AllenBW/api,mafernando/api,boozallen/projectjellyfish,mafernando/api,sreekantch/JellyFish,sonejah21/api,projectjellyfish/api,boozallen/projectjellyfish,stackus/api,projectjellyfish/api,boozallen/projectjellyfish,AllenBW/api,boozallen/projectjellyfish,mafernando/api,sonejah21/api,stackus/api