"use client"; import { Avatar } from "@/components/ui/avatar"; import { AvatarImage } from "@radix-ui/react-avatar"; import { useSession } from "next-auth/react"; import { ContactSelector } from "@/components/dashboard/email/ContactSelector"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import Image from "next/image"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip"; import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, SheetTrigger, } from "@/components/ui/sheet"; import { Button } from "@/components/ui/button"; import RichTextEditor from "@/components/dashboard/email/RichTextEditor"; import { Eye, Send, FileBox, Check } from "lucide-react"; import ContactModal from "@/components/dashboard/email/ContactModal"; const page = () => { const { data: session } = useSession(); return (

Send an Email

{session?.user?.email}

gmail logo Currently logged in as:{" "}

{session?.user?.email}

Preview Preview This is what your email looks like.

{session?.user?.email}

alex.mason@gmail.com

Greetings for the new year!

Hello, Alex Merry Christmas and a Happy New Year to you all Engineers. I’m glad to announce that we will be arranging a Christmas party on the eve of Christmas. As such, you are cordially invited to attend the party as we will have loads of fun events like Dart, Mario Kart and Beer Pong. Hope to see you at the party! Regards, HR

); }; export default page;