function getEmailFromAuthor(author) {
  const emailRegex = new RegExp(/ <(\S+@\S+)>$/);
  const emailMatch = author.match(emailRegex);
  if (!emailMatch) return null;
  return emailMatch[1];
}
@param {string} author
@return {string | null}