import { brevoService } from "../../../common/email/brevoApi"; import ApiError from "../../../common/utils/helper/ApiError"; import config from "../../../config/config"; export async function sendEmailToHostForRejectedApplication( emailAddress: string, firstName: string ): Promise<{ sent: boolean; // messageId: string }> { const subject = "Action Needed: Host Onboarding Application"; const htmlContent = `
Hi ${firstName},
After reviewing your submission, we're unable to proceed at this stage, as some details require further updates. We encourage you to log in to your Host portal to review the feedback provided and make the necessary changes.
Host portal login:
${config.HOST_LINK}
We appreciate your interest in Minglar and look forward to reviewing your updated application.
Warm regards,
Team Minglar
Hi ${name},
After reviewing your submission, we're unable to proceed at this stage, as some details require further updates. We encourage you to log in to your Host portal to review the feedback provided and make the necessary changes.
We appreciate your interest in Minglar and look forward to reviewing your updated application.
Warm regards,
Team Minglar
Hi ${name},
Thank you for taking the time to submit your activity pre-qualification details on the Minglar platform.
After reviewing your submission, we're unable to approve the application at this stage. However, we encourage you to make the suggested updates and refinements, as many applications are successfully approved after revision.
You can log in to the Host portal to review the feedback and continue updating your application:
If you need any guidance, feel free to reach out to us at info@minglargroup.com.
We appreciate your interest in partnering with Minglar and look forward to reviewing your updated submission.
Thank you,
Minglar Team
Hi ${name},
Thank you for submitting your activity for review.
After evaluating the details provided, we're unable to approve the listing at this stage. A few updates are required before we can proceed.
Please log in to your Host Portal to review the feedback and make the necessary revisions.
Access your Host Portal:
${config.HOST_LINK}
Once the updates have been submitted, our team will re-evaluate your activity promptly.
If you have any questions or need clarification on the feedback, feel free to reach out to us at info@minglargroup.com. We're happy to assist.
Warm regards,
The Minglar Team