public async Task <bool> SendEmailAsync(string emailTaskId, ILambdaContext context)
        {
            var s3Client  = new AmazonS3Client();
            var sesClient = new AmazonSimpleEmailServiceClient();

            var sendEmailService = new SendEmailService(s3Client, sesClient);

            return(await sendEmailService.SendEmailAsync(emailTaskId));
        }
        public async Task <IActionResult> AddMeToMailList(ClientProductPageViewModel vm)
        {
            var userId      = this.User.FindFirst(ClaimTypes.NameIdentifier)?.Value;
            var currentUser = await _userManager.FindByIdAsync(userId);

            SendEmailService oneEmail = new SendEmailService();
            await oneEmail.SendEmailAsync(vm.MailEmailAddress, "Join us Today", "Thanks you for join us");

            return(Json(new { message = "Success" }));
        }