export function generateRejectionEmail(username: string): string {
  const currentYear = new Date().getFullYear();
  return `
        <!DOCTYPE html>
        <html lang="en">
        
        <head>
          <meta charset="UTF-8">
          <meta name="viewport" content="width=device-width, initial-scale=1.0">
          <title>User Rejection Notification</title>
          <style>
            /* Reset CSS */
            body,
            html,
            div,
            p,
            h1,
            h2,
            h3,
            h4,
            h5,
            h6,
            a,
            img,
            span,
            table,
            tbody,
            td,
            tr,
            th {
              margin: 0;
              padding: 0;
              border: 0;
              font-family: Arial, sans-serif;
              font-size: 16px;
              line-height: 1.5;
            }
        
            /* Container */
            .container {
              max-width: 600px;
              margin: 0 auto;
              padding: 20px;
            }
        
            /* Header */
            .header {
              text-align: center;
              margin-bottom: 20px;
            }
        
            /* Body */
            .body {
              padding: 20px;
              background-color: #f9f9f9;
              border-radius: 5px;
            }
        
            /* Footer */
            .footer {
              text-align: center;
              margin-top: 20px;
            }
          </style>
        </head>
        
        <body>
          <div class="container">
            <div class="header">
              <h1>User Rejection Notification</h1>
            </div>
            <div class="body">
              <p>Hello ${username},</p>
              <p>We regret to inform you that your account approval request has been rejected by the admin.</p>
              <p>If you have any questions or need further clarification, feel free to contact us.</p>
              <p>Best regards,</p>
              <p>The Admin Team</p>
            </div>
            <div class="footer">
              <p style="margin-bottom: 0px;">&copy;${currentYear} All Rights Reserved.</p>
            </div>
          </div>
        </body>
        
        </html>
      `;
}
