Making emails go through to correct API