Divided sendByEmail and packPlugin in two separate endpoints.