If you have your Eloquent relationships setup properly there's no need to pluck all the fields and also query for each student. You should be able to get away with something like this:
$attendance = AttendanceStatus::with('student')->where('attendance_id', $attendance_status->attendance_id)->get();
$attendance->map(function($item) {
Mail::send('emails.attendance.daily_attendance', ['data' => $item], function ($message) use ($item)
$message->subject("Attendance for " . $item->attendance_date);
$message->to($item->student->email);
});
});
Just make sure in your email view emails.attendance.daily_attendance that you change the fields to use the $data variable: like $data->attendance_date