html=`The repository ${repoUrl} has been analyzed. Since it doesn't contain any text files, we couldn't process it at the moment. Please try again with a different repository.`;
emails.forEach(email=>{
console.log(`Preparing to send 'no text files' notification email to: ${email}`);
});
}else{
if(!uuid){
console.error('The UUID is undefined.',{ emails, repoUrl });
thrownewError('The UUID is undefined.');
}
subject='Your repo is ready for a chat!';
html=`The repository <a href="${repoUrl}">${repoUrl}</a> has been analyzed. You can chat with it at <a href="${baseUrl}/explain/${uuid}">${baseUrl}/explain/${uuid}</a>.`;
emails.forEach(email=>{
console.log(`Preparing to send 'repo ready' notification email to: ${email}`);